05-11-2010
Docs
The links for docs that you provided are for Solaris 8, there are some chapter that are missing in Solaris 10 manuals which are very useful like cache file sys ...etc enjoy, but if big admin at Sun is a best place for docs
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I am relatively new to unix...
Can u pls help me out to find out if the first day of the month is a working day ie from (Monday to Friday)...using Date and If clause in Korn shell..
This is very urgent.
Thanks for ur help... (7 Replies)
Discussion started by: phani
7 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I want to check what day is today (like mon,Tue,wed)
When i checked the syntax, i dont see there is a format specifier for getting the day. Let me know how to get the same.
I am very new to unix and so I am asking some basic questions.
cheers,
gops (2 Replies)
Discussion started by: gopskrish
2 Replies
3. Solaris
Hi experts,
I am facing a big problem. i use solaris 9. i found size of /var is increasing day by.
snapshot of a yester moring-
/dev/vx/dsk/var 15G 14G 1.1G 94% /var
snapshot of a yesterday everning-
/dev/vx/dsk/var 15G 14G 824M 95% /var
I am... (11 Replies)
Discussion started by: thepurple
11 Replies
4. Shell Programming and Scripting
Hi All,
I need to find the previous month last day minus one day, using shell script. Can you guys help me to do this.
My Requirment is as below:
Input for me will be 2000909(YYYYMM)
I need the previous months last day minus 1 day timestamp. That is i need 2000908 months last day minus ... (3 Replies)
Discussion started by: girish.raos
3 Replies
5. Shell Programming and Scripting
I am using the code below modified from a post I saw here regarding having the script write out future dates. The problem is that instead of making 8/1 it makes 7/32! Please help!
yy=`date +%Y`
mm=`date +%m`
dd=`date +%d`
echo "Today is : $yy $mm $dd"
#!/usr/bin/ksh
date '+%m... (5 Replies)
Discussion started by: libertyforall
5 Replies
6. Shell Programming and Scripting
Hi,
I would like to write a script that checks if a file ('counter') was modified the previous day, if so erase its contents and write 00000000 into it.
For e.g. if the file 'counter' was last modified at 11.30pm on 24th May and the script runs at 12.15am of 25th May, it should erase it's... (1 Reply)
Discussion started by: hegdepras
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I have a requirement where I need to first capture the current day & move all the files from a particular directory based on a previous day.
i.e move all the files from one directory to another based on current day & a previous day. Here is what I am trying, but it gives me errors.... (2 Replies)
Discussion started by: dsfreddie
2 Replies
8. Shell Programming and Scripting
hello,
I have many files called day001, day002, day003 and I want to rename them by day20070101, day20070102, etc.
I need to do it for several years and leap years as well.
What is the best way to do it ?
Thank you. (1 Reply)
Discussion started by: Ggg
1 Replies
SYS(1) AFS Command Reference SYS(1)
NAME
sys - Reports the compile-time CPU/operating system type
SYNOPSIS
sys
DESCRIPTION
The sys command displays the string set at compile time that indicates the local machine's CPU/operating system (OS) type, conventionally
called the sysname. This string is the default for the value stored in kernel memory. The Cache Manager substitutes this string for the
@sys variable which can occur in AFS pathnames; the OpenAFS Quick Start Guide and OpenAFS Administration Guide explain how using @sys can
simplify cell configuration.
To set a new value in kernel memory, use the fs sysname command. To view the current value set in the kernel, use either fs sysname or
livesys.
CAUTIONS
You almost always want to use livesys rather than this command. The sys command displays a single value hard-coded at compile time. It
does not query the Cache Manager for the current value and it does not report sysname lists. If you have changed the local system type
with fs sysname, or if you run a version of sys compiled differently than the Cache Manager running on the system, the value returned will
not match the behavior of the Cache Manager. The only reason to use sys is that livesys wasn't available in older versions of AFS.
OUTPUT
The machine's system type appears as a text string:
I<system_type>
EXAMPLES
The following example shows the output produced on a Sun SPARCStation running Solaris 5.7:
% sys
sun4x_57
PRIVILEGE REQUIRED
None
SEE ALSO
fs_sysname(1), livesys(1)
The OpenAFS Quick Start Guides at <http://docs.openafs.org/>.
The OpenAFS Administration Guide at <http://docs.openafs.org/AdminGuide/>.
COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2012-03-26 SYS(1)