Dec 23, 2025 - 04:05 PMDeutsch | English
Hello unlogged user [ Register | Log in ]

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
totschka
Post subject: Einzelne Felder einer Zeile ausgeben?  PostPosted: Oct 30, 2008 - 04:00 PM



Joined: Jun 27, 2007
Posts: 409

Hallo,

ich brauche für einen Test die PID eines Prozesses, beispielsweise skype.

Mit ps -C skype bekomme ich die angezeigt. Jetzt will ich aber nur die PID weiterverwenden, ohne die restlichen Informationen in dieser Zeile. Mit cut habe ich so meine Probleme der richtigen Bezeichnung der Felder und erhalte immer "falsche Liste" oder so was in der Art.

Die PID will ich als Kommandoparameter verwenden. Kann mir jemand helfen?
 
 View user's profile Send private message  
Reply with quote Back to top
Kano
Post subject: Einzelne Felder einer Zeile ausgeben?  PostPosted: Oct 30, 2008 - 04:01 PM



Joined: Dec 17, 2003
Posts: 16815

pidof skype
 
 View user's profile Send private message  
Reply with quote Back to top
totschka
Post subject:   PostPosted: Oct 31, 2008 - 06:44 PM



Joined: Jun 27, 2007
Posts: 409

Dankeschön, so gehts natürlich auch. Problem gelöst.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.