Hi,
I want to remove the first line from a flat file using unix command as simple as possible. Can anybody give me a hand ?
Thanks in advance.
xli (21 Replies)
Hi,
I want to split before reading the complete line as the line is very big and its throwing out of memory. can you suggest.
when i say
#cat $inputFile | while read eachLine
and use the eachLine to split its throwing out of memory as the line size is more than 10000000 characters.
Can you... (1 Reply)
Hi,
I need to split positional flat file, based on value at position 43-45.( in red "410")
Example:
12345678907886421689 200920184820410200920020092002007
12345678907886421689 200920184820411200920020092002007
12345678907886421689 200920184820411200920020092002007... (6 Replies)
Hi,
I have the following lines that I would like to see in an array for easy comparisons and printing:
Example 1:
field1,field2,field3,field4,field5
value1,value2,value3,value4,value5Example 2:
field1,field3,field4,field2,field5,field6,field7... (7 Replies)
Hello Guys
I want to sort a flat file by the third column (numeric ) and store it in some other name
I/P
9924873|20111114|00000000000013013|130|13|10/15/2010 12:36:22|W860944|N|00
9924873|20111114|00000000000013009|130|09|10/15/2010 12:36:22|W860944|N|00... (12 Replies)
Hello Guru's
I want to read an array into a flatfile
Please let me know how to do the same
So far this the below code
use strict;
use warnings;
open (my $data , '<', $ARGV)|| die "could not open $ARGV:\n$!";
my @array=(<$data>);
my @sorted=sort... (8 Replies)
Hi,
I'm not able to find a solution because I cant find the exact keyword for this.
I wanna make a graph like ive shown in the attachment.
Could someone please share ideas on how to do this.
Thanks! (3 Replies)
Hi,
Is there a way to find out the line number from where the data starts?
like if the data contains column header, irrespective of the text in the column header we should get the line number from which contains the column header.
I am sorry if I haven't explained the problem clearly.
... (8 Replies)
Hi All,
I find the below code printing the output of a particular field in same line, which i want it to be printed on a new line.
---CODE START---
foreach $defectRec (@outLs) {
my($def_id,$status,$files_mod) = split(/,/, $defectRec);
print "DEFECT ID: $def_id, Status:... (3 Replies)
Discussion started by: nmattam
3 Replies
LEARN ABOUT OSF1
nfsstat
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)