Search Results

Search: Posts Made By: coderd
Posted By coderd
find physical disk type : SAS / SATA

Is there an easy way to find the disk-type from the command line or with another api ? sdparm works for SAS but not for SATA, hdparm works for SATA but not SAS.

Posted By coderd
dcoolsam, did you mean 'whoami' ?

did you mean 'whoami' ?
Posted By coderd
If you have gnu sed, you can use -i option which...
If you have gnu sed, you can use -i option which will replace in place.

sed -i 's//o/g' inputfile
Posted By coderd
_/proc/stat vs /proc/uptime

I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will...
Showing results 1 to 4 of 4


Featured Tech Videos

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