10-17-04 10:50 PM
cconnell_1@lycos.com (chris-c) wrote in message news:<9607ea95.0410170429.7d775dd9@posting.g
oogle.com>...
> Hi All,
> This is a question Ive been meaning to ask for ages but have never
> found the answer. My quesion is howe to do you get the ps command to
> show the output of all options to a process? ie when I do
>
> ps -ef | grep mysql
>
> I get
> mysql 28878 1 0 13:19:49 pts/3 0:00 /bin/sh
> /usr/local/mysql/bin/safe_mysqld -O key_buffer=192M -O table_cache=128
>
> but there are more arguments to this (when I started it) but they are
> stripped off the end of the line. I want to see all arguments/options,
> is there an autowrap function to ps or something?
>
> Operating system is solaris 8. The terminal Im using is ssh client but
> it does the same when I use a vt terminal.
> Thanks
i don't know about Solaris, but on Linux you would do:
ps ax|grep mysql
for example, when i do "ps ax|grep xterm" on my box i get:
30211 ? S 0:00 xterm -ls -bg black -cr green -fg white -C
-fn 9x15 -sl 500
it shows you (in order) pid, tty, stat, time, command (with
arguments). i think this is what you were asking for.
[ Post a follow-up to this message ]
|