Search Results

Search: Posts Made By: vinothsekark
1,200
Posted By methyl
I guess that your post is the output from df -h?...
I guess that your post is the output from df -h? You may find the output from df -Pk easier to work with for numeric sorts.
1,200
Posted By balajesuri
$ cat input 124M 56M 63M 48%...
$ cat input
124M 56M 63M 48% /opt/isv/microsoft
1.1G 133M 922M 13% /opt/isv/mqm
5.0G 2.5G 2.3G 52% /opt/isv/oracle
30G 0 30G 0% /opt/isv/db
$
$ sort -nk4 input
30G 0 30G 0% /opt/isv/db
1.1G...
3,197
Posted By Corona688
I repeat -- you can't do what you want that way. ...
I repeat -- you can't do what you want that way. wget isn't a programming language. It can't understand "if x do y, if z quit".

The code I gave you does what you want. It doesn't use wget's own...
7,938
Posted By arun.ijhs.klm
Change code as below
Change
printf("%d, %d, %d, %d, %d, %d, %f\n", a, c, d, cnt, minh, maxh, avgh);
to
printf("%d, %d, %d, %d, %d, %d, %5.2f\n", a, c, d, cnt, minh, maxh, avgh);
8,531
Posted By Corona688
From man wget: -t number ...
From man wget:

-t number
--tries=number
Set number of retries to number. Specify 0 or inf for infinite
retrying. The default is to retry 20 times, with the...
7,938
Posted By arun.ijhs.klm
Please try the below code
#!/bin/ksh
#cat inpfile | cut -d"," -f1,3,4 -s | uniq
INPFIL=./inpfile
print "A , C, D,Diff_count,min(H column),max(H column),AVG(H column)"
for ind in `cat ${INPFIL} | cut -d"," -f1,3,4 -s |...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 02:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy