LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2005, 06:14 AM   #1
carthyc
LQ Newbie
 
Registered: Apr 2005
Location: India
Distribution: Redhat 9
Posts: 17

Rep: Reputation: 0
shell script


Hi All,

Can any one help me in writing a script.

The problem is,

We have nearly 50 users loggin in a server at a time. We want to delete the child job called from a parent job. We have to allow only parent jobs to run.

ps -ef gives us the parent job id and process id. Please help us in deleting out he child process.

Thanks in advance....
 
Old 07-28-2005, 06:47 AM   #2
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 66
pstree may help you, else you'll process the information in /proc yourself.

Yves.
 
Old 07-28-2005, 06:53 AM   #3
carthyc
LQ Newbie
 
Registered: Apr 2005
Location: India
Distribution: Redhat 9
Posts: 17

Original Poster
Rep: Reputation: 0
thanks....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell script inside shell script treotan Linux - General 4 02-19-2009 06:34 AM
Shell Scripting: Getting a pid and killing it via a shell script topcat Programming 15 10-28-2007 02:14 AM
shell script problem, want to use shell script auto update IP~! singying304 Programming 4 11-29-2005 05:32 PM
Directory listing - Calling shell script from a CGI script seran Programming 6 08-11-2005 11:08 PM
[SHELL SCRIPT] Write at the right of the shell window Creak Linux - General 2 04-02-2004 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration