Good Day
I mistakely renamed the dld.sl file in the /usr/lib directory. When i try to ls/ftp into the box i get this error :eek:
crt0: ERROR couldn't open /usr/lib/dld.sl errno:000000002
I have tried to rename it back from the renamed file to the original file name, but it gives me the... (2 Replies)
When trying to copy a file in Solaris 8 it doesnt copy file or give a error. This worked 100% until the 29th. I've checked the rights and everything seems fine:
drwxrwxrwx 2 bmuser bmgroup 11776 Jan 3 10:32 spool
This is the file I want to copy:
-rwxrwxrwx 1 bmuser bmgroup ... (26 Replies)
Hi People,
I have a directory full of compressed files (.Z extention)
In many of these files there is a string pattern (3800078163033)
I want to find all file names which contain this string in their text.
Regards,
Abhishek (2 Replies)
Hi Gurues,
I need to modify an existing script that uses find to search a folder, and then move its contents to a folder. What I need to do is run gzip on each file after it's moved.
So, I ran this little test:
Put a ls.tar file on my $HOME, mkdir tmp, and then:
virtuo@tnpmprd01: find .... (3 Replies)
Hi Guys,
I have a strange problem.( AIX 6.1) "vi" is not working at all..Whenever i #vi <anythin> ,, it returns the prompt back. Any clues folks?? (14 Replies)
I am trying to print out two fields in a file using awk. So, I have got
awk -F '\t' 'NF = 2 {print $1 $2 "]"}' two.txt
in a script called what.awk
When i run this version like this - ./what.awk then it runs however I want to run the program like this
awk -f what.awk two.txt.
When I... (8 Replies)
Hi all,
Please could someone help with the following command requirement.
I basically need to find files NEWER than a given file and order the result on time.
My attempt so far is as follows:
find . -newer <file_name> -exec ls -lrt {} ;\
But I dont seem to get the right result... (12 Replies)
Hi,
I have two scripts that remove files. One works fine and is coded
find -name "syst*" -mtime +1 -exec rm {} \;
The other is almost the same - only thing missing is the '\'. On that script though I keep getting:
rm syst1202.file ?
etc
Does the \ make that difference or is it a... (3 Replies)
Hi All,
i created the below script to move file with xml extension from one directory to another,but the mv command is not working inside the shell script,
#!/us/bin/ksh
filepath="/apps/extract"
filename="*.xml"
foldername=2191POB000_$(date +%Y%m%d%H%M%S)
mkdir -p "$filepath/$foldername"... (3 Replies)
Hello.
From a script, a command for a test is use :
find /home/user_install -maxdepth 1 -type f -newer /tmp/000_skel_file_deb ! -newer /tmp/000_skel_file_end -name '.bashrc' -o -name '.profile' -o -name '.gtkrc-2.0' -o -name '.i18n' -o -name '.inputrc'
Tha command... (3 Replies)
Discussion started by: jcdole
3 Replies
LEARN ABOUT DEBIAN
oarstat
oarstat(1) OAR commands oarstat(1)NAME
oarstat - show information about jobs
SYNOPSIS
oarstat [-X|-Y|-J|-D|-f] [-j jobid|--array arrayid] [--sql SQL_properties] [-u user] [--array]
oarstat [-e|-p] [-j jobid | --array arrayid]
oarstat -s [-X|-Y|-J|-D] -j jobid
oarstat [-X|-Y|-J|-D] --gantt "YYYY-MM-DD hh:mm:ss, YYYY-MM-DD hh:mm:ss"
oarstat --accounting "YYYY-MM-DD, YYYY-MM-DD"
DESCRIPTION
This command is used to show information of jobs in OAR batch scheduler.
OPTIONS -f, --full
Very detailed display.
-j, --job job_id
Print information from a specific job.
-e, --events
Print job events only.
-p, --properties
Print job properties in the same format as in the $OAR_RESOURCE_PROPERTIES_FILE file on the nodes.
-s, --state
Print only the state of a specified job. It makes a minimal query to the database. It is optimized to allow scripting for example. Must
be used with -j.
-u, --user [login]
Print information for the current user or the one given. If used with --accounting, print a more detailed accounting report for the
user.
--array [array_id]
Toggle the visualization of array information on. If an array_id is provided, print information relative to the subjobs of the given
array job.
--sql
Restricts display with the SQL where clause on the table jobs (ex: "project = 'p1'")
-D, --DUMPER
Print result in DUMPER format.
-X, --XML
Print result in XML format.
-Y, --YAML
Print result in YAML format.
-J, --JSON
Print result in JSON format.
-g, --gantt "date_start,date_stop"
Print history of jobs and state of resources between two dates like "2006-03-30 13:49:27, 2006-04-30 13:49:27"
--accounting "date_start,date_stop"
Shows accounting information between two dates like "2006-03-30, 2006-04-30".
If --user is also used, more details are shown for this particular user.
Warning: the accounting table must be up to date. The update must be done at superuser level with the oaraccounting command.
-V, --version
Print OAR version number.
-h, --help
Print help message.
SEE ALSO oarprint(1), oarsub(1), oardel(1), oarnodes(1), oarhold(1), oarresume(1)COPYRIGHTS
Copyright 2008 Laboratoire d'Informatique de Grenoble (http://www.liglab.fr). This software is licensed under the GNU Library General Public License. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
oarstat 2012-05-23 oarstat(1)