Search
Search titles only
By:
Search titles only
By:
Forums
New posts
Search forums
What's new
New posts
Latest activity
Feedback
View Statistics
Members
Current visitors
Buy Sell Trade
WTB
Log in
Register
Search
Search titles only
By:
Search titles only
By:
New posts
Search forums
Menu
Install the app
Install
Reply to thread
Forums
Technology
Programming
Script to monitor Machine Health (Project Doctortux) Input needed.
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Compiler" data-source="post: 1133932" data-attributes="member: 35047"><p>I have used w in the script which displays how many terminal connections are established in the machine.</p><p></p><p>It also gives you who has logged in .</p><p></p><p>E.g</p><p></p><p>[CODE]# w</p><p></p><p> 21:25:51 up 3:38, 1 user, load average: 1.05, 1.02, 0.94</p><p></p><p>USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT</p><p></p><p>root pts/1 TomcatServer 18:56 0.00s 0.59s 0.00s w[/CODE]</p><p></p><p>from above output its clear that somebody has taken a terminal from machine (TomcatServer) with root access.</p></blockquote><p></p>
[QUOTE="Compiler, post: 1133932, member: 35047"] I have used w in the script which displays how many terminal connections are established in the machine. It also gives you who has logged in . E.g [CODE]# w 21:25:51 up 3:38, 1 user, load average: 1.05, 1.02, 0.94 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT root pts/1 TomcatServer 18:56 0.00s 0.59s 0.00s w[/CODE] from above output its clear that somebody has taken a terminal from machine (TomcatServer) with root access. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Technology
Programming
Script to monitor Machine Health (Project Doctortux) Input needed.
Top
Bottom