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
sattach
sattach(1) SLURM Commands sattach(1)NAME
sattach - Attach to a SLURM job step.
SYNOPSIS
sattach [options] <jobid.stepid>
DESCRIPTION
sattach attaches to a running SLURM job step. By attaching, it makes available the IO streams of all of the tasks of a running SLURM job
step. It also suitable for use with a parallel debugger like TotalView.
OPTIONS -h, --help
Display help information and exit.
--input-filter[=]<task number>
--output-filter[=]<task number>
--error-filter[=]<task number>
Only transmit standard input to a single task, or print the standard output or standard error from a single task. The filtering is
performed locally in sattach.
-l, --label
Prepend each line of task standard output or standard error with the task number of its origin.
--layout
Contacts the slurmctld to obtain the task layout information for the job step, prints the task layout information, and then exits
without attaching to the job step.
--pty Execute task zero in pseudo terminal. Not compatible with the --input-filter, --output-filter, or --error-filter options. Notes:
The terminal size and resize events are ignored by sattach. Proper operation requires that the job step be initiated by srun using
the --pty option. Not currently supported on AIX platforms.
-Q, --quiet
Suppress informational messages from sattach. Errors will still be displayed.
-u, --usage
Display brief usage message and exit.
-V, --version
Display SLURM version number and exit.
-v, --verbose
Increase the verbosity of sattach's informational messages. Multiple -v's will further increase sattach's verbosity.
INPUT ENVIRONMENT VARIABLES
Upon startup, salloc will read and handle the options set in the following environment variables. Note: Command line options always over-
ride environment variables settings.
SLURM_EXIT_ERROR Specifies the exit code generated when a SLURM error occurs (e.g. invalid options). This can be used by a script to
distinguish application exit codes from various SLURM error conditions.
EXAMPLES
sattach 15.0
sattach --output-filter 5 65386.15
COPYING
Copyright (C) 2006-2007 The Regents of the University of California. Copyright (C) 2008-2009 Lawrence Livermore National Security. Pro-
duced at Lawrence Livermore National Laboratory (cf, DISCLAIMER). CODE-OCEC-09-009. All rights reserved.
This file is part of SLURM, a resource management program. For details, see <http://www.schedmd.com/slurmdocs/>.
SLURM is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any later version.
SLURM is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
SEE ALSO sinfo(1), salloc(1), sbatch(1), squeue(1), scancel(1), scontrol(1), slurm.conf(5), sched_setaffinity (2), numa (3)
June 2010 SLURM 2.2 sattach(1)