Search Results

Search: Posts Made By: Moon1234
22,537
Posted By ygemici
I wrote a script about cpu and system info long...
I wrote a script about cpu and system info long before.maybe it can be help:b:

example from my test linux :)
[root@sistem1lnx ~]# ./cpuinfo_unix_com

Script works within the -> bash <- SHELL ...
2,009
Posted By RudiC
awk 'NR==1 {print...
awk 'NR==1 {print "TS\tDURATION\tDS_WKLDNM\tOBJNM\tVALUE";next}
{NF=3
gsub (/[-.]/, "", $2); $2="3600\t"$2
$3="INTERFACE_C\t"...
7,518
Posted By linuxpenguin
oh my bad, while read line;do ...
oh my bad,


while read line;do
ts=`echo "$line"|cut -d',' -f1
rest=`echo "$line"|cut -d',' -f2-
d=`date --date="@${ts}" "+%d/%m%Y %H:%M:%S"`
echo "$d,$rest"
done < inputfile >...
Showing results 1 to 3 of 3

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