statmon(5) File Formats Manual statmon(5)Name
statmon, current, backup, state - statd directory and file structures
Syntax
/etc/sm /etc/sm.bak /etc/state
Description
The directories and are generated by the daemon. Each entry in represents the name of the system to be monitored by Each entry in repre-
sents the name of the system to be notified by upon its recovery.
The file is generated by to record its version number, that is, the number of times was invoked. The version number is incremented each
time a crash or recovery takes place.
See Alsostatd(8c), lockd(8c)statmon(5)
Check Out this Related Man Page
rpc.statd(8) System Manager's Manual rpc.statd(8)NAME
rpc.statd, statd - Network status monitor daemon
SYNOPSIS
/usr/sbin/rpc.statd [-c]
OPTIONS
Available only on TruCluster Server systems. This option starts the clusterwide network status daemon, which helps provide highly available
NFS service. Do not use -c directly. Highly available NFS service is configured by default and typically does not require intervention. If
you do need to start the clusterwide network status daemon, use the CAA command, caa_start cluster_lockd.
For more information, see the TruCluster Server Administration manual.
DESCRIPTION
The rpc.statd daemon monitors the status of the client and server sites in response to a request made by the local rpc.lockd daemon. When
a site failure is detected, the rpc.statd daemon notifies the local rpc.lockd daemon, which then processes the recovery of the locked files
or file regions.
RESTRICTIONS
The crash of a site is only detected on its recovery.
FILES
A directory created by the statd daemon. Each file name in the directory is the host name of a client or server that the statd daemon will
notify upon its recovery. A backup directory created by the statd daemon. A file created by the statd daemon to store its state number.
SEE ALSO
Daemons: rpc.lockd(8)
Files: statmon(4)rpc.statd(8)
I am having a problem with the following statement in a korn shell script:
if "$all_recs" = "ALL"; then
commands
fi;
I keep getting the error syntax error at line 999 : 'then' unmatched.
I'm sure it is a minor problem, but have been unable to find any answers online. Any help... (22 Replies)
Can anyone please tell me why this wont work! Thanks so much!
#!/bin/sh
for file
do
case $file in
*.*.*)
echo Cannot have more than 1 dot
exit
;;
*'**'*)
echo Cannot have more than 1 asterisk
exit
;;
*'*'*|?.)
echo this is a target (19 Replies)
Wow I'm so zoned out I don't even know if I posted this question up already (I couldn't find it in my book marks or in "yesterday's" post).
My question is, I'm writing a korn script that does something like the following, but I don't yet completely understand the syntax. I need to check that... (16 Replies)
I am trying to get folder names that contain only numbers.
Can someone explain why following command is printing 'total 450' as part of output..
$> ls -lt | awk '$9 ~ /^*$/' | more
total 450
drwxr-x--x 3 user1 group1 512 Mar 9 2008 329227163
drwxr-x--x 3 user1 group1 ... (17 Replies)
I have the date of the file passed into a variable also current date formatted same passed into a separate variable and compare the two with an if statement and statement always comes up false. Even though I verified the dates. Any help would be awesome.
Filecrtdate=`ls -l $i | awk '{print... (19 Replies)
Hi Unix Gurus,
I am a newb. I am creating a script which will use an input file. This input file can have 1 or more than 1 DML staments like INSERT/DELETE/UPDATE.
I have to execute these statements using my script but before execution of these DML statements, I need to check the count for... (17 Replies)
Currently I am stuck on my program for my if statement, as I do not no how to get a specific collumn of text to check against my variable.
df -k /home/* > fd.txt
cat df.txt | tr -s " " | awk '{print $3, $4, $1}' > dfcap.txt
echo -n "Enter the size (in kilobytes) you wish to check against... (18 Replies)
#! /bin/ksh
rm -f ./xyz file --- this line is working
// Below any if stmt is not working.
if
then
echo " blah blah "
fi
or I replaced above if with
if
then
echo "dir exists"
fi
This is also not working.
I am new to KSH. So can someone help why if stmt is not... (31 Replies)
is it possible to use multiple conditions in a CASE statement? And if so, what is the syntax? I'm trying to use one but can't seem to get it right. I want the statement to be
CASE $vendor OR $alias
condition 1) statements;
condition 2) statements;
etc.
esac
but I keep... (25 Replies)
Hi,
I have the below script which is working fine on cmd line, but nothing gets displayed on browser. There is no permission issue. If i remove the open statement and print some other data. Its working fine on browser. Kindly help.
#!c:/perl/bin/perl
use Win32::ODBC;
use CGI ':standard';... (19 Replies)
Hello All,
I have 2 different pieces of code, I am confused why the Code1 is giving me the correct result where as the Code2 is not giving me correct result. It gives me always result as "Failure" irrespective of the "ERROR" word exists in logfile or not. may I know the reason why? I am using Bash... (17 Replies)
Hello,
I've been trying to find the answer to this with Google and trying to browse the forums, but I haven't been able to come up with anything. If this has already been answered, please link me to the thread as I can't find it.
I've been asked to write a script that pulls a list of our CPE... (51 Replies)
hello all
im new to unix and when i use below script i get an error :
#! /bin/bash
Echo -e "enter the name of the file : \c"
read file_name
if
then
echo "$file_name found"
else
echo "$file_name not found"
fi
running the script i get below error :
$ ./hello (26 Replies)