Sponsored Content
Top Forums Shell Programming and Scripting How to put a "timer" when running df - NFS error Post 302525190 by kumaran_5555 on Thursday 26th of May 2011 04:02:40 AM
Old 05-26-2011
What we use to do is , to redirect the stdout of df to a file, check for content change(i.e. number of lines) frequently sar every 10 secs, if that doesn't change the content of the file,then kill the last df command and go for next.

I think this is simple to implement and serves the purpose.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

error running COBOL - ".loader does not exist"

Hello. I am new to the unix environment. Currently, I am taking existing COBOL source code and attempting to compile and run on our new UNIX machine. I have succesfully compiled an object. When I try to run I get the follwing error: 0509-036 Cannot load program abeunix.o because of the... (16 Replies)
Discussion started by: jbrubaker
16 Replies

2. Shell Programming and Scripting

Startup Script "run process with Timer"

Hi I have a script that execute every X minute for checking new files in a folder and converting to pdf. Is there any way to start this script automatically on linux startup?. I use sleep function in script with infinite loop. while do killall -u `whoami` -q soffice soffice... (0 Replies)
Discussion started by: zawmn83
0 Replies

3. HP-UX

ERROR: more than one instance of overloaded function "vprintf" has "C" linkage

Hi people! I've got this own library: -------------------------------------------- Personal.h -------------------------------------------- #ifdef __cplusplus extern "C" { #endif #include <stdio.h> #include <stdarg.h> #include <string.h> ... (0 Replies)
Discussion started by: donatoll
0 Replies

4. HP-UX

script running with "ksh" dumping core but not with "sh"

Hi, I have small script written in korn shell. When it is called from different script, its dumping core, but no core dump when we run it standalone. And its not dumping core if we run the script using "/bin/sh" instead of "ksh" Can some body please help me how to resolve this issue. ... (9 Replies)
Discussion started by: simhe02
9 Replies

5. Red Hat

"ERROR : failed to mount nfs source" Red Hat Kickstart

Hi There, I have been googling for this error and try solution provided but still not avail to resolve Kickstart Issue. Any expert have encounter this problem? Thanks. Regards, Regmaster (4 Replies)
Discussion started by: regmaster
4 Replies

6. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

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)
Discussion started by: shis100
7 Replies

7. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

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)
Discussion started by: shishong
14 Replies

8. UNIX for Dummies Questions & Answers

SSHd is running, but cant connect "Network error: Connection refused"

Hi, i checked on rhel VPS is running sshd (service ssh status) But i cant connect via putty: "Network error: Connection refused" Please which log file in my centos rhel linux i need to watch or what are steps to do to discover cause? (3 Replies)
Discussion started by: postcd
3 Replies

9. SCO

NFS umount shows the "Device busy (Error 16)"

Hi there After making a backup copy of it sometimes happens that when I want to unmount an NFS indicates the error:umount: /path_mount busy: Device busy (Error 16) if I run lsoff, I can not find the process that is blocking the application. I'm using OpenServer 5.0.2c as one NFS server ... (14 Replies)
Discussion started by: flako
14 Replies

10. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
nfsstat(8)						      System Manager's Manual							nfsstat(8)

NAME
nfsstat - Network File System statistics SYNOPSIS
/usr/bin/nfsstat [-i interval] [-23cnsrz] [system] OPTIONS
Displays summary information at the specified interval. Displays client NFS and RPC information, unless otherwise specified by either the -n or -r option. Displays server NFS and RPC information, unless otherwise specified by either the -n or -r option. Displays NFS client and server information, unless otherwise specified by either the -c or -s option. Displays RPC information for the client and server side, unless otherwise specified by either the -c or -s option. Specifies NFS version 2 statistics when specified with the -n option. If neither the -2 nor -3 option is specified, version 2 and version 3 statistics are displayed. Specifies NFS version 3 statistics when specified with the -n option. If neither the -2 nor -3 option is specified, version 2 and version 3 statistics are displayed. Reinitializes statis- tics. Used to set NFS client/server or RPC client/server statistics to zero. You must be logged in as superuser to use this command. DESCRIPTION
The nfsstat command displays statistical information about the Network File System (NFS) and Remote Procedure Call (RPC) interfaces in the kernel (by reading /dev/kmem). It can also be used to reinitialize this information. If no options are given, nfsstat displays both server RPC and NFS version 2 and version 3 information, and client RPC and NFS version 2 and version 3 information. The system argument specifies the file containing the system's name list. Otherwise, /vmunix is used. FILES
Specifies the kernel memory. nfsstat(8)
All times are GMT -4. The time now is 03:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy