For When You Can't Have The Real Thing
[ start | index | login ]
start > Solaris > Find a process' command line

Find a process' command line

Created by dave. Last edited by dave, 15 years and 5 days ago. Viewed 4,500 times. #2
[diff] [history] [edit] [rdf]
labels
attachments

Problem

I want to know what the invoking command line was for a running process but it is too long for a ps -ef output line.

Solution

$ /usr/ucb/ps -axwwwu | grep $PID

Works on Solaris 9.

no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt