![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Invalid Argument and glassfish | Andrew2008 | SUN Solaris | 1 | 04-30-2008 12:25 PM |
| option followed by : taking next option if argument missing with getopts | gurukottur | Shell Programming and Scripting | 2 | 03-17-2008 08:46 AM |
| msgrcv : Invalid argument | answers | UNIX for Dummies Questions & Answers | 1 | 02-08-2008 06:31 AM |
| non-numeric argument | TiredOrangeCat | UNIX for Dummies Questions & Answers | 3 | 02-12-2007 10:37 PM |
| stty: : Invalid argument | tony3101 | Shell Programming and Scripting | 2 | 03-16-2006 02:33 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
ps: 65535 is an invalid non-numeric argument for -p option
I want to figure out what is the reason of error message I have in Solaris 10. Why Solaris 10 dosn't recognize 65535?
ps: 65535 is an invalid non-numeric argument for -p option usage: ps [ -aAdeflcjLPyZ ] [ -o format ] [ -t termlist ] [ -u userlist ] [ -U userlist ] [ -G grouplist ] [ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ] 'format' is one or more of: Thank you |
| Forum Sponsor | ||
|
|
|
||||
|
hmm, i've tried it on my workstation, it's not a bug in ps, it just don't work with the default settings from solaris (30.000 like perderabo said) as a limit and it doesn't work with pids creater then the limit which is set in the kernel.
see: Code:
root@mp-wst01 # uname -a
SunOS mp-wst01 5.10 Generic_118833-24 sun4u sparc SUNW,Sun-Blade-100
root@mp-wst01 # grep pidmax /etc/system
set pidmax=98302
root@mp-wst01 #
root@mp-wst01 # adb -P ">> " -k /dev/ksyms /dev/mem
physmem 1799c
>> pidmax /D
pidmax:
pidmax: 98302
>>
root@mp-wst01 # ps -p 65535
PID TTY TIME CMD
root@mp-wst01 #
root@mp-wst01 # ps -p 98302
PID TTY TIME CMD
root@mp-wst01 #
root@mp-wst01 # ps -p 98303
ps: 98303 is an invalid non-numeric argument for -p option
usage: ps [ -aAdeflcjLPyZ ] [ -o format ] [ -t termlist ]
[ -u userlist ] [ -U userlist ] [ -G grouplist ]
[ -p proclist ] [ -g pgrplist ] [ -s sidlist ] [ -z zonelist ]
'format' is one or more of:
user ruser group rgroup uid ruid gid rgid pid ppid pgid sid taskid ctid
pri opri pcpu pmem vsz rss osz nice class time etime stime zone zoneid
f s c lwp nlwp psr tty addr wchan fname comm args projid project pset
root@mp-wst01 #
here's the description from the "Solaris Tunable Parameters Reference Manual": Quote:
regards pressy |