Search Results

Search: Posts Made By: coderd
4,734
Posted By coderd
find physical disk type : SAS / SATA
Hi,

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.

Thanks
28,656
Posted By coderd
dcoolsam, did you mean 'whoami' ?
dcoolsam,

did you mean 'whoami' ?
1,744
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
10,641
Posted By coderd
_/proc/stat vs /proc/uptime
Hi,

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