Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
what happen to skill
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 415
Location: Nederland

PostPosted: Thu Mar 21, 2013 2:08 pm    Post subject: what happen to skill Reply with quote

hello all,

I dont know where to put this one, so here seems the best place

what happen to skill ? it use to be on my system, but now it is gone.
Code:

man -k skill
skill []             (1)  - send a signal or report process status


Code:
which skill
which: no skill in (...............)
I remove the path and put the .....

I am sure it exist : http://linux.about.com/library/cmd/blcmdl1_skill.htm

locate does not find it on my PC, eix neither, qfile same same

now if I want to kill firefox, I need to do :
Code:
ps aux | grep firefox
kill -9 .....

previously I did
Code:
skill firefox


I think that I am missing something
_________________
reup

"Don't wiggle the tail of the frog in the oil of the frying peanuts"
Back to top
View user's profile Send private message
reup
Guru
Guru


Joined: 13 May 2005
Posts: 415
Location: Nederland

PostPosted: Thu Mar 21, 2013 2:15 pm    Post subject: Reply with quote

well I think I can reply to myself.

e-file skill tells me that skill is part of sys-process/procps and it seems that sys-process/procps has been replace by sys-process/psmisc.

sys-process/psmisc does not provide skill but killall
Quote:
killall - kills a process by its name, similar to a pkill found in some other Unices.


I will
1) create a simlink killall --> skill
or
2) change my habits from skill to killall

I do find strange that something like this happen on my PC without me noticing it
_________________
reup

"Don't wiggle the tail of the frog in the oil of the frying peanuts"
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2244

PostPosted: Thu Mar 21, 2013 9:33 pm    Post subject: Reply with quote

reup ...

You also have 'pgrep' and 'pkill' at your disposal ...

Code:
# pgrep -c wpa
2
# pgrep -l wpa
1870 wpa_supplicant
1877 wpa_cli
# pgrep -x wpa_cli
1877
# [[ "$foo" = "true" ]] && pkill -signal TERM wpa_cli

Thank goodness for foo=false :) ... best ... khay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum