Offline Agents Inquiry.


 
Thread Tools Search this Thread
# 1  
Offline Agents Inquiry.

Hello,

I currently use Solaris, and typically I use the
Code:
svcs -a | grep PROCESS

to see if it's online or Offline.

My questions is SVCS is in solaris but if I want to find out if a daemon or process is offline what other methods can I use?
Code:
ps -ef | grep PROCESS "what do I look for"

or is there a better way!

Thanks

Last edited by vbe; 03-31-2010 at 08:33 AM..
# 2  
Code:
svcs -a |grep -vi online

will give you everything that isn't online.

You can't do a ps -ef to try and find something that isn't running.
 

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #293
Difficulty: Easy
Linux is the most popular operating system among supercomputers today (2019).
True or False?

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

User Agents Identifier

Hi, Can anyone help me write a script tp determine the web browser from a user agent. A user agent is stored in a file and consists of hundreds of lines e.g. 37050 Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko 29404 Mozilla/5.0 (Windows NT 6.3; WOW64)... (4 Replies)
Discussion started by: cyberfrog
4 Replies

2. UNIX for Dummies Questions & Answers

UNIX inquiry for 'awk'

Hello Everyone, May I ask for your help regarding one of the UNIX command “awk”. So I executed a script and the output looks like this (see below): output.txt CONTRACTNAME ... (3 Replies)
Discussion started by: steven_huskie
3 Replies

3. UNIX for Dummies Questions & Answers

UNIX Inquiry

Hi Everyone! I'm new with UNIX,so, sorry if this question seems really dumb.:( Anyway, I'd just like if it's possible to automatically inform someone (via mail or pop-up box or something) that a file has been recently uploaded/received to the UNIX box? If it is, any advice on how to get that... (0 Replies)
Discussion started by: jam04
0 Replies

4. UNIX for Advanced & Expert Users

snmpdx (master agent) doens't relay messages to agents

Hi, I've installed on my Solaris 9 (sparc) the Solstice Enterprise Agents and I'm trying to register my application with the master agent of the Solaris, so when the master agent recieves an SNMP message with my O.I.D range, it forwards it to my application. My application listen on port... (2 Replies)
Discussion started by: ShaharP
2 Replies

5. Solaris

Agents for Auditing and Monitoring

Auditing and Monitoring is the most important activitiy of system administrator. In order to improve the servers administered per administrator, can anyone suggest some low cost ( preferably free ) tools/agents. (1 Reply)
Discussion started by: shauche
1 Replies

Featured Tech Videos