Oracle Solaris System Administration (MOSC)

MOSC Banner

What is my ping pid doing?

edited Mar 29, 2012 4:41AM in Oracle Solaris System Administration (MOSC) 5 commentsAnswered
We deployed a simple script to try and identify network issues a while ago. The script loops indefinitely, running "/usr/sbin/ping -ns $HOST 56 60 >> $LOGFILE" throughout the day.  We noticed today that the local $LOGFILE wasn't being updated, but the ping is still running:
$ ps -o pid,s,stime,args  -p 17422
  PID S    STIME COMMAND
17422 S   Mar_17 /usr/sbin/ping -ns 1.2.3.4 56 60

Note that PID 17422 was started March 17, and the ping command should have terminated after 60s, but it's still running.

It doesn't appear to be hung:

#  truss -faildo /tmp/truss.out -p 17422

$ head -15 /tmp/truss.out
Base time stamp:  1332207093.2134  [ Tue Mar 20 01:31:33 GMT 2012 ]

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center