Hi,
We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0.
Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ?
I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc.
... (1 Reply)
Hello!
I'm writing a shell script that will monitor if a server is up or down.
I would like to use the command "at" inside of my script to reschedule the script to run in 2 minutes but I can't pass parameters to my script and this is my problem...
This is the idea behind the script:
... (2 Replies)
Hi All,
I am trying to schedule a one time job using the at command with the help of shell script for my project. The shell script should take a parameter as a command line argument from the at command itself. Is it possible to take a command line parameter for a shell script in the command... (3 Replies)
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this:
$ look "string" "/home/patrick/filename.txt"
However, this gives me the following message:
"look: /home/patrick/filename.txt: File too large"
So, I have two... (14 Replies)
Hi All ,
I need to create a scheduling capability on one of Linux boxes so that i could some 6 scripts back to back after a gap a given time difference .
To run script1 :-- my test1.sh for 3 hrs , followed by 2nd script ,mytest2.sh for 10 hrs , then mystest3.sh for 2 hrs , then... (3 Replies)
How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address
and column 3 contains “cc” e-mail address to include with same email.
Sample input file, email.txt
Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies
LEARN ABOUT DEBIAN
qsig
qsig(1B) PBS qsig(1B)NAME
qsig - signal pbs batch job
SYNOPSIS
qsig [-s signal] job_identifier ...
DESCRIPTION
The qsig command requests that a signal be sent to executing batch jobs. The signal is sent to the session leader of the job.
If the -s option is not specified, `SIGTERM' is sent. The request to signal a batch job will be rejected if:
- The user is not authorized to signal the job.
- The job is not in the running state.
- The requested signal is not supported by the system upon which the job is executing.
The qsig command sends a Signal Job batch request to the server which owns the job.
OPTIONS -s signal Declares which signal is sent to the job.
The signal argument is either a signal name, e.g. SIGKILL, the signal name without the SIG prefix, e.g. KILL, or a unsigned
signal number, e.g. 9. The signal name SIGNULL is allowed; the server will send the signal 0 to the job which will have no
effect on the job, but will cause an obituary to be sent if the job is no longer executing. Not all signal names will be
recognized by qsig. If it doesn't recognize the signal name, try issuing the signal number instead.
Two special signal names, "suspend" and "resume", are used to suspend and resume jobs. Cray systems use the Cray-specific
suspend()/resume() calls.
On non-Cray system, suspend causes a SIGTSTP to be sent to all processes in job's top task, wait 5 seconds, and then send a
SIGSTOP to all processes in all tasks on all nodes in the job. This differs from TORQUE 2.0.0 which did not have the abil-
ity to propogate signals to sister nodes. Resume sends a SIGCONT to all processes in all tasks on all nodes.
When suspended, a job continues to occupy system resources but is not executing and is not charged for walltime. The job
will be listed in the "S" state. Manager or operator privilege is required to suspend or resume a job.
Note that interactive jobs may not resume properly because the top-level shell will background the suspended child process.
OPERANDS
The qsig command accepts one or more job_identifier operands of the form: sequence_number[.server_name][@server]
STANDARD ERROR
The qsig command will write a diagnostic messages to standard error for each error occurrence.
EXIT STATUS
Upon successful processing of all the operands presented to the qsig command, the exit status will be a value of zero.
If the qsig command fails to process any operand, the command exits with a value greater than zero.
SEE ALSO qsub(1B), pbs_sigjob(3B), pbs_resources_*(7B) where * is system type, and the PBS ERS.
Localqsig(1B)