ps command

rouvas rouvas at di.uoa.gr
Fri Nov 10 17:18:13 EET 2006


On Friday 10 November 2006 17:11, axelmangr wrote:
> rouvas wrote:
> > On Friday 10 November 2006 17:02, axelmangr wrote:
> >> rouvas wrote:
> >>> On Friday 10 November 2006 16:57, axelmangr wrote:
> >>>>> On Friday 10 November 2006 16:50, axelmangr wrote:
> >>>>>>> On Friday 10 November 2006 16:36, axelmangr wrote:
> >>>>>>>> καλησπέρα παιδιά
> >>>>>>>> Έχω την εξής απλή ερώτηση. Πως μπορώ με ps να δώ όλο το process
> >>>>>>>> που τρέχει και όχι μόνο ότι χοράει στο terminal Ευχαριστώ
> >>>>>>>> πολύaxelmangr
> >>>>>>>
> >>>>>>> ps -elf
> >>>>>>> ή
> >>>>>>> ps ax
> >>>>>>
> >>>>>> me ps -elf | grep kati vlepo to exis:
> >>>>>>
> >>>>>>  8 S euromarc  8936     1  0  41 20        ?  71809        ?
> >>>>>> 15:41:34 pts/5    1:27 /home2/bea/jdk150_04/bin/java -clie
> >>>>>>
> >>>>>> to process 8963 den to vlepo olokliro. Afto enoo...
> >>>>>
> >>>>> kane alli mia pipa sto less -S kai 8a deis!
> >>>>
> >>>> bash-2.03$ ps -elf | grep kati| less -S
> >>>> 8 S euromarc  8936     1  0  41 20        ?  71809        ? 15:41:34
> >>>> pts/5    1:27 /home2/bea/jdk150_04/bin/java -clie
> >>>>
> >>>> pali to idio vlepo, ektos ke an den katalava kala ti enoouses
> >>>
> >>> dokimases na pas deksia-aristera me ta belakia;
> >>
> >> to exo idi dokimasi ke apla mou dixni keno xoro
> >
> > 1on) emena mou ta dexnei ola
> > 2on) to ps -Afww, pou proteine ligo prin kapoios allos sti lista, episis
> > ta deixnei ola kai me kallitero tropo, kata ti gnomi mou.
> >
> > An den blepeis tipota me kanenan apo tous dio tropous, ipopsiazomai oti
> > to ipoloipo output pou den xoraei sto terminal sou to "kobei" to terminal
> > sou. Dokimase na kaneis ta eksis:
> >
> > ps -elf | grep kati | vim -
>
> to apotelesma ine :
>
> No lines in the buffer
> No lines in the buffer 
> No lines in the buffer
> No lines in the buffer
>
> > ;h
> >
> > ps -elf | grep kati > a; vim
>
> To apotelesma ine afto pou evlepa ke prin stin othoni.
>
> Isos na fteo ke ego pou den sas ipa oti ime me ssh sindedemenos se solaris

ps to re mana mou!

apo to "man ps" se SunOS.5.4 (aka Solaris):

     CMD  (all)
           The command name (the full command name and its  argu-
           ments,  up  to  a  limit of 80 characters, are printed
           under the -f option).

opote den ksero... bale slackware :-)

-Stathis


>
> axel





More information about the Linux-greek-users mailing list