10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
the task is grant user1 to kill another (for example user2) process. My steps:
usermod -P "Process Management" user1
user1@server (~) pfexec kill <PID>
the result is:
ksh: <PID>: not found
or user1@server (~) pfexec pkill <PID>
the result: nothing happens, still... (0 Replies)
Discussion started by: dsyberia
#This shell finds the pid of the hawkagent and kills and restarts to put the rulebase into effect
output=`ps aux|grep hawkagent`
#The set -- below helps to parse the above ps output into words and $2 gives the 2nd word which is pid
set -- $output
#Checks if pid of hawkagent... (12 Replies)
Discussion started by: samrat dutta
Someone or, some tool has killed the application process with signal 9 (kill -9) . How to track that in HP-UX?
On AIX we can use light-weight tool called ProbeVue to track it but not sure how to do it on HP-UX. Appreciate your help.
Closed because this is... (0 Replies)
Discussion started by: aixusrsys
4. Shell Programming and Scripting
i had written a shell script Display Information of all the File Systems
i want to find the pid and kill the process after few minutes.how can i obtain the pid and kill it???
df -a >> /tmp/size.log
and my cron to execute every minute every hour every day
* *... (5 Replies)
Discussion started by: azherkn3
5. Shell Programming and Scripting
Am a newbie to unix and wasnt able to write script to my requirement.
I need a shell script, which should find a process by name and kill it. For eg: let the process name be "abc". I have different processes running by this name(abc), so should kill them all.
Condition would be: if... (7 Replies)
Discussion started by: fop4658
6. Shell Programming and Scripting
How can i find the types of files in some directory(~/mydir) that start with word "fix" then followed by number 3, 4, 7 or 8 and end with .ccp or .in
How can i find the total number of files that are larger than 5000 bytes in specific directory?, I can do it by current directory by using ... (4 Replies)
Discussion started by: kim1980
We are using AIX 5.3.
Can anyone please guide me to find out all the running processes for a specific user, say ' admin' and also kill them by force.
atech (9 Replies)
Discussion started by: atechcorp
8. UNIX for Advanced & Expert Users
Any idea how to kill threads (not processes) in solaris?
I had checked the man pages for both kill and pkill to no avail. (9 Replies)
Discussion started by: izy100
9. UNIX for Dummies Questions & Answers
I am using HP Ux and had run a find command. Now I am trying to kill it with kill or kill -9 but it is not getting killed and still running. Any clues ?
Sidhu (5 Replies)
Discussion started by: Amardeep
10. UNIX for Dummies Questions & Answers
I should know this, but do K scripts in the /etc/rc?.d directories get run in numerically ascending or descending order? By default there are none in rc3.d. Is it OK to put 2 in there, and will they be run first (which is my goal).
Chuck (1 Reply)
Discussion started by: 98_1LE