ps command
Christos Ricudis
ricudis at komodino.itc.auth.gr
Sat Nov 11 18:24:58 EET 2006
DJ Art wrote:
> On Friday 10 November 2006 17:03, axelmangr wrote:
>
>> mou lei oti den tou aresi to w san switch
>>
>> ps: illegal option -- w
>>
>
> Σε Linux όλα αυτά ή σε κανένα άλλο unixοειδές ?
>
> Κάτι μου λέει ότι δεν είσαι σε Linux, γιατί η εντολή που κάνει ΑΚΡΙΒΩΣ
> αυτό που θές είναι όντως η w σε GNU ps.
>
> :)
>
>
Kala, se wdeio ma8ate UNIX oloi sas? Man ps kai koitakste ti kanei to option
w kai to option ww.
komodino:[ricudis]~$ ps 7840
PID TTY STAT TIME COMMAND
7840 pts/0 Sl 0:02 /usr/local/jdk1.5.0//bin/java -Xms128m -Xmx512m
-Djava.endorsed.dirs=/usr/l
komodino:[ricudis]~$ ps w 7840
PID TTY STAT TIME COMMAND
7840 pts/0 Sl 0:02 /usr/local/jdk1.5.0//bin/java -Xms128m -Xmx512m
-Djava.endorsed.dirs=/usr/local/lps-4.0.pr4/Server/tomcat
komodino:[ricudis]~$ ps ww 7840
PID TTY STAT TIME COMMAND
7840 pts/0 Sl 0:02 /usr/local/jdk1.5.0//bin/java -Xms128m -Xmx512m
-Djava.endorsed.dirs=/usr/local/lps-4.0.pr4/Server/tomcat-5.0.24/lib
-classpath /usr/local/jdk1.5.0//lib/tools.jar:/usr/local/lps-4.0.pr4
/Server/tomcat-5.0.24/bin/bootstrap.jar:/usr/local/lps-4.0.pr4/Server
/tomcat-5.0.24/bin/commons-logging-api.jar
-Dcatalina.base=/usr/local/lps-4.0.pr4/Server/tomcat-5.0.24/
-Dcatalina.home=/usr/local/lps-4.0.pr4/Server/tomcat-5.0.24
-Djava.io.tmpdir=/usr/local/lps-4.0.pr4/Server/tomcat-5.0.24/temp
/org.apache.catalina.startup.Bootstrap start
Ligoi kseroun oti to ps htan h pragmatikh aformh twn eksegersewn sthn
Amerikh to 1960, kai mhn akoute tous aristeristes pou milane gia bietnam
ktl. Ola ksekinhsan ena apogeyma kapoy sth dekaetia tou '60, otan o Ken
Thompson
eixe kalesei sto spiti tou ton Marshall Kirk Mckusick. Meta to faghto, kapou
metaksy tyriou kai axladiou, h syzhthsh eftase sto epikindyno shmeio :
"E stands for Everything", eipe o Thompson.
"Of course not. E stands for Environment", apanthse o Mckusick.
Ta aimata anapsan. Ekeino to brady, o Mckusick efyge apo to spiti tou
Thompson me gratzounies kai dagkwmaties, enw h toufa apo ta kserizwmena
mallia tou Thompson fainetai akoma stis fwtografies
(http://en.wikipedia.org/wiki/Image:Medal_lg.jpeg). To epomeno brady o
Mckusick brhke eksw apo thn ekswporta tou thn gata tou plakwmenh apo
ena dekakilo thlefwno ths AT&T apo atofio bakelith, me ta grammata
"ps -edf" xaragmena epanw sto akoustiko. To me8epomeno prwi, oi
tromokrathmenoi ypallhloi twn Bell Labs sto New Jersey anagkasthkan na
kalesoun thn e8nofroura gia na dialysei to plh8os twn mastourwmenwn
metaptyxiakwn poy anebhkan apo to Berkeley gia na ektokseysoun sto ktirio
ekatontades ayga me ta grammata "ps auxw". H e8nofroura pyrobolhse kai
skotwnontas 32 foithtes kai traymatizontas 128.
O emfylios krataei akoma, kai oi dyo pleyres pote den mporesan na
synnenoh8oun pragmatika. Eginan kati ektrwmatikes prospa8eies symbibasmou
apo dual-personality systems, To OSF/1 ps gia paradeigma exei thn
idiothta
na symperiferetai wsan System V ps an tou dwseis arguments me payla (ps
-edf)
kai ws BSD ps an afaireseis thn payla (ps auxw). To ps twn proctools krataei
ayth th symperifora, kai kanei mia prospa8eia na mantepsei mono tou ti
8eleis, analogws ti alla arguments tou dineis. Mporeis malista na
mperdepseis BSD kai SysV arguments sto idio command line, me kai xwris -
mprosta. Prospa8w akoma na brw mia xrhsh gi ayto.
--
Christos Ricudis ricudis at itc.auth.gr
Systems Administrator +30-2310-998656
IT Support Center
Aristotle University of Thessaloniki, GREECE
More information about the Linux-greek-users
mailing list