Hallo,
hat jemand eine Idee wie man pgrep dazu bringt Bindestriche im Dateinamen zu akzeptieren?
z.B.
pgrep transmission-daemon
funktioniert so nicht …
Grüße
K.
Hallo,
hat jemand eine Idee wie man pgrep dazu bringt Bindestriche im Dateinamen zu akzeptieren?
z.B.
pgrep transmission-daemon
funktioniert so nicht …
Grüße
K.
Hallo
Also bei mir (Ubuntu 9.4) geht das.
Welches System benutzt du?
sigterm
Hallo
Welches System benutzt du?
Debian Lenny.
Bei Testing funktionierts auch nicht …
Grüße
K
Debian Lenny.
Tut einwandfrei. Was genau machst du, und wie genau äussert sich dein Problem?
herrmann:~$ cat /etc/debian\_version
5.0.4
herrmann:~$ pgrep -l -
4206 dbus-daemon
4399 hald-runner
4416 hald-addon-inpu
4417 hald-addon-keyb
4425 hald-addon-cpuf
4426 hald-addon-acpi
4435 hald-addon-stor
4489 vmware-serverd
4568 x-window-manage
4592 ssh-agent
4595 dbus-launch
4596 dbus-daemon
4914 gconfd-2
7915 run-mozilla.sh
7920 icedove-bin
8049 hald-addon-keyb
8157 firefox-bin
Gruß
Hallo,
mein Fehler
Hatte „pgrep -x transmission-daemon“ abgefragt.
Richtig aber ist: „pgrep -x transmission-da“
Danke allen Antworten
besonders prgep -l - :o)
Grüße
K.
Hallo
The process name used for matching is limited to the 15 characters
present in the output of /proc/pid/stat. Use the -f option to match
against the complete command line, /proc/pid/cmdline.
So weit runter hab ich in der Manpage bisher noch nicht geblättert.
Mit sowas rechnet ja auch keiner.
sigterm