|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
||||
|
||||
|
*nix and df
I've noticed different behavior when using df -k on AIX, Linux (red hat) and SunOS.
Is there anyway to get the same format out of all 3? For example, Sun and Linux use spaces, while AIX uses tabs. Also, AIX has different column headers than AIX's. I'm trying to parse the output of the filesystem info and not having a consistant format makes it very difficult. Thanks. |
|
#2
|
|||
|
|||
|
ich glaube, the only way: an own filter checking and according to OS
reformating the output of df (using: awk, perl or c, all other are too slow). df -k {argv} ¦ dffilter ![]() maybe you find a prog in net (google) |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > *nix and df |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|