LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   shell script (https://www.linuxquestions.org/questions/linux-newbie-8/shell-script-358740/)

carthyc 08-31-2005 03:29 AM

shell script
 
Hai All,

Can you help me in writing a script in which, an user can submit only upto 20 jobs. If he submits more than 20, those jobs should be killed automatically.

I tried it out, but finding difficult to get it correctly.

I 'll be so thankful to you all...

scuzzman 08-31-2005 04:01 AM

You'll want to look at the Bash ulimit command.
Here is the bash man page, just do a <Ctrl>+F and search for ulimit.
It would help us help you if you posted what you currently have and the problems you're having with it...


All times are GMT -5. The time now is 03:09 AM.