9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a file with data as follows:
3/23/2014 22:01:18 1
3/23/2014 22:01:47 0
3/23/2014 22:03:35 0
3/23/2014 22:04:50 1
3/24/2014 1:16:41 0
3/24/2014 1:18:00 0
3/24/2014 1:18:36 0
3/24/2014 1:21:46 0
3/25/2014 13:00:31 1
3/25/2014 13:00:54 0
3/25/2014 13:13:09 0
3/25/2014 13:14:15 0... (2 Replies)
Discussion started by: ssk250
2 Replies
2. Shell Programming and Scripting
Hi,
I have a file which has 4500 entries
10000
9880
9800
8700
8200
...
.....
...
...
...
...
...
...
...
50 (1 Reply)
Discussion started by: Diya123
1 Replies
3. Shell Programming and Scripting
Hi All,
I have source file
x.txt
0001|0003
0031|0031
0045|0049
My desired output should be:
y.txt
0001
0002
0003
0031
0045
0046
0047 (11 Replies)
Discussion started by: kmsekhar
11 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I have two files as shown below:
test1
678
679
689
690
710
test2
1 678
654 800
676 791
689 900
I want to get a count of lines from test2 whose columns bound the values in test1
I tried running the code below; however am getting wrong results. (3 Replies)
Discussion started by: Gussifinknottle
3 Replies
5. Shell Programming and Scripting
Help plz
Does any one have any idea how to compare interval ranges of 2 files.
finding 1-4 (1,2,3,4) of input2 in input1 of same key "a" values (5-10, 30-40, 45-60, 80-90, 100-120 ). Obviously 1-4 is not one of the range with in input1 a. so it should give out of range.
finding 30-33(31,32,33)... (1 Reply)
Discussion started by: repinementer
1 Replies
6. Shell Programming and Scripting
Hi,
I wanted to add a newline character after every 100 characters in a file using a awk or shell without reading each line of the file.
I want to run a command on the complete file.
This does based on a string but i want to add a new line after every 100 characters ir-respective of the... (3 Replies)
Discussion started by: vijaykrc
3 Replies
7. Shell Programming and Scripting
I'm trying to assign variables that include the current value of a count, but I can't seem to get it working... this script is incomplete, but some guidance on how to use a dynamic variable would be helpful:
Sample Input:
bash-2.03$ more sg2.txt
Results for group6
443
1394
Results for... (3 Replies)
Discussion started by: earnstaf
3 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I got a request from a client to check on their server's cpu, memory and disk utilization. Am planning to use the sar and iostat commands to achieve this. The server is used for sending and receiving messages between the stockbrokers, so I was thinking to run the commands during the market... (9 Replies)
Discussion started by: 60doses
9 Replies
9. Shell Programming and Scripting
Hi Friends,
Can anyone help me with this:
To get the count of files that are existing in a directory created on a perticular date like in the example (01/08) .(having same pattern for the filename)
ex:
FileName Creted Date
FILE001 01/08/2007
FILE005 ... (6 Replies)
Discussion started by: sbasetty
6 Replies
nfsiostat(8) System Manager's Manual nfsiostat(8)
NAME
nfsiostat - Emulate iostat for NFS mount points using /proc/self/mountstats
SYNOPSIS
nfsiostat [[<interval>] [<count>]] [<options>][<mount_point>]
DESCRIPTION
The nfsiostat command displays NFS client per-mount statisitics.
<interval>
specifies the amount of time in seconds between each report. The first report contains statistics for the time since each file sys-
tem was mounted. Each subsequent report contains statistics collected during the interval since the previous report.
<count>
If the <count> parameter is specified, the value of <count> determines the number of reports generated at <interval> seconds apart.
if the interval parameter is specified without the <count> parameter, the command generates reports continuously.
<options>
Define below
<mount_point>
If one or more <mount point> names are specified, statistics for only these mount points will be displayed. Otherwise, all NFS
mount points on the client are listed.
OPTIONS
-a or --attr
displays statistics related to the attribute cache
-d or --dir
displays statistics related to directory operations
-h or --help
shows help message and exit
-l LIST or --list=LIST
only print stats for first LIST mount points
-p or --page
displays statistics related to the page cache
-s or --sort
Sort NFS mount points by ops/second
--version
show program's version number and exit
FILES
/proc/self/mountstats
SEE ALSO
iostat(8), mountstats(8), nfsstat(8)
AUTHOR
Chuck Lever <chuck.lever@oracle.com>
15 Apr 2010 nfsiostat(8)