01-30-2009
the rightmost column of 'uname -a' usually gives it up for the OS. what shell are you running under though? grep should be available on most systems...and shells.
Otherwise, check out one of the UWIN or Cygwin apps which would let you run the whole shebang from within Windows. Both even provide for ssh clients that can tap into your UNIX system's ssh service as well. It provides a full ksh93 option for those of us cursed with bills and gates...
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do you schedule a command to run at 4:00 every morning? (1 Reply)
Discussion started by: JosephGerard
1 Replies
2. UNIX for Advanced & Expert Users
hi
i am needed to use tidal's scheduler to schedule unix scripts available on server A. while creating a job to be scheduled, it has an option called command which will take a path of the file. i have seen several examples in the following way
e:\tidal\bin\sleep.exe
here i did not understand two... (0 Replies)
Discussion started by: balireddy_77
0 Replies
3. UNIX for Dummies Questions & Answers
I have the following crontab entry.
0,30 00-16 * * *
This job runs every 30 minutes between the hours of 12:00AM and 4:00PM. How can I have it stop at 4:30PM instead?
Thank you,
David (3 Replies)
Discussion started by: dkranes
3 Replies
4. Shell Programming and Scripting
As far as I know
Crontab is the utulity to schedule tasks to run at specific times.Is there any utility to perform the same task (4 Replies)
Discussion started by: tjay83
4 Replies
5. UNIX for Advanced & Expert Users
Hi,
Grateful if you could advise how to schedule the AIX "topas" command in crontab? Below script works fine at shell prompt. But it does not run via crontab at an AIX Server.
Script: topas_run.sh
export top_file=/oracle/rman_scripts/"topas_run"_`date '+%m_%d_%y_%H_%M_%S'`".txt"
echo >>... (7 Replies)
Discussion started by: schandrakar1
7 Replies
6. Shell Programming and Scripting
Hi,
How to write the recursive function.
I have a script,
#!/usr/bin/ksh
##
name=$1
outputfile='output.log'
sqlplus -s > ${outputfile} <<__END__
${USER}/${PASS}@${DB}
WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK
WHENEVER OSERROR EXIT FAILURE ROLLBACK
SET ECHO ON
SET SERVEROUTPUT... (3 Replies)
Discussion started by: sandy1028
3 Replies
7. Shell Programming and Scripting
Hi,
I have a script which will query the DB and added to crontab at 1,2,6,7 AM everyday and sends a email if count is 0.
Now the problem is, if crontab is disabled it doesn't sends a mail.
Please tell me how can I handle this situation in the script. (2 Replies)
Discussion started by: sandy1028
2 Replies
8. UNIX for Dummies Questions & Answers
I have wriiten one script to get some results from log files. Daily I have to run the script using the below command to get the output.
What I need is, Can I schedule the Script to execute once every day at a particular Time and get the output by mail automatically? I heard about 'cron job' . .... (3 Replies)
Discussion started by: Padmanabhan
3 Replies
9. HP-UX
Hope you can help with a queuy i have. Server OS is HP-UX
my cron runs like this:
* * * * * /test/scripts/1_min_jobs.sh 1>/dev/null 2>/dev/null
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /test/scripts/jobs_5mins.sh 1>/dev/null 2>/dev/null
0,15,30,45 * * * *... (10 Replies)
Discussion started by: davexxash
10 Replies
10. Shell Programming and Scripting
Hi All,
How to schedule crontab on all day except sunday and monday means from tuesday to saturday at 06:00AM. (3 Replies)
Discussion started by: Riverstone
3 Replies
LEARN ABOUT DEBIAN
netapp::snapshot
NetApp::Snapshot(3pm) User Contributed Perl Documentation NetApp::Snapshot(3pm)
NAME
NetApp::Snapshot -- OO class for creating and managing snapshots
SYNOPSIS
use NetApp::Filer;
use NetApp::Snapshot;
my $filer = NetApp::Filer->new( .... );
DESCRIPTION
This class encapsulates a single NetApp snapshot, and provides methods for querying information about the snapshot, as well as methods for
managing it.
METHODS
get_parent
Returns the NetApp::Aggregate or NetApp::Volume object for the aggregate or volume for which object is a snapshot.
get_name
Returns a string representing the name of the snapshot.
get_date
Returns the date the snapshot was created.
get_used
Returns the percentage of space used by snapshot.
get_total
Returns the percentage of total space used by the snapshot.
get_snapshot_deltas
Returns an array of NetApp::Snapshot:Delta objects, each representing a single delta for this snapshot.
get_reclaimable
Returns the amount of reclaimable space, if the snapshot is deleted. Note that experimentally, this command has a lot of failure
scenarios, most of which are reasonable (there are a lot of cases where you can't query this data). Therefore, unlike most of the methods
in this API, it doesn't raise a fatal exception if it can't query the information, it simply generates warnings.
rename( $newname )
Renames the snapshot to the specified name.
restore( %args )
This method is an interface to the "snap restore" command. The argument syntax is:
$snapshot->restore(
type => 'vol' | 'file', # Defaults to vol
from_path => $from_path,
to_path => $to_path,
);
The 'type' argument maps to the -t CLI argument, and the 'to_path' argument maps to the -r CLI argument. Refer to the na_snap(1) man page,
and the "snap restore" documentation for further information.
perl v5.14.2 2008-11-26 NetApp::Snapshot(3pm)