Re: grep file system capacity
From: Green, Simon (Simon.Green_at_EU.ALTRIA.COM)
Date: 06/20/05
- Previous message: Shawn Bierman: "Re: grep file system capacity"
- Maybe in reply to: Shawn Bierman: "grep file system capacity"
- Next in thread: fmu_at_OERAG.DE: "I need for oracle update the xlC.rte. Must I buy this or is it default on AIX 5.2 CD?"
- Reply: fmu_at_OERAG.DE: "I need for oracle update the xlC.rte. Must I buy this or is it default on AIX 5.2 CD?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 20 Jun 2005 16:18:22 +0200 To: aix-l@Princeton.EDU
Or slightly more flexible...
df|grep "^/dev"|tr -s '% ' ' '|cut -f4,7 -d' '|while read UTIL FILE
do
if [[ $UTIL -gt 59 ]]
then
echo $FILE $UTIL
fi
done
-- Simon Green Altria ITSC Europe s.a.r.l. AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX N.B. Unsolicited email from vendors will not be appreciated. Please post all follow-ups to the list. -----Original Message----- From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of Mills, John T (9814) Sent: 20 June 2005 14:58 To: aix-l@Princeton.EDU Subject: Re: grep file system capacity df -k |egrep "[6-9][0-9]%|100%" -----Original Message----- From: IBM AIX Discussion List [mailto:aix-l@Princeton.EDU] On Behalf Of Shawn Bierman Sent: Monday, June 20, 2005 8:26 AM To: aix-l@Princeton.EDU Subject: [aix-l] grep file system capacity df|grep [6-9][0-9]% this command shows file systems that are 60-99% full. How would I include 100% without doing another command? thanks, -shawn
- Previous message: Shawn Bierman: "Re: grep file system capacity"
- Maybe in reply to: Shawn Bierman: "grep file system capacity"
- Next in thread: fmu_at_OERAG.DE: "I need for oracle update the xlC.rte. Must I buy this or is it default on AIX 5.2 CD?"
- Reply: fmu_at_OERAG.DE: "I need for oracle update the xlC.rte. Must I buy this or is it default on AIX 5.2 CD?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|