- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Scripts
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 04:08 AM
12-04-2000 04:08 AM
Scripts
Wehere can I get some Space Management Scripts. I would like to monitor space usgae on our servers
DKR Bhat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 04:20 AM
12-04-2000 04:20 AM
Re: Scripts
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x5cfe6c96588ad4118fef0090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 04:33 AM
12-04-2000 04:33 AM
Re: Scripts
federico
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 04:56 AM
12-04-2000 04:56 AM
Re: Scripts
It's nice isn't it ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 04:59 AM
12-04-2000 04:59 AM
Re: Scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 06:02 AM
12-04-2000 06:02 AM
Re: Scripts
Thanks,
I would like to have some scripts for..
1. Which userid has crossed nnMb of space in his home folder
2. Files which are not tuched fr last 'nnn' days
3. User, File list with different permission
4. Which Mount point has reached a threshhold limit of say 90%
List are many more. Is there any software to generate thes kinds of reports.
Thanks again for those scripts
DKR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 06:15 AM
12-04-2000 06:15 AM
Re: Scripts
2. find
4. bdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 07:40 AM
12-04-2000 07:40 AM
Re: Scripts
You could automate the first of your requests (on a filesystem base) by turning quotas on.
Your second wish is a typical use of 'find'. Rainer gave you an example, here above.
I'm not sure to understand your "3. User, File list with different permission". Could you please explain ?
# bdf | sort -nk5
will list all your mounted filesystems, sorting them by %used.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-04-2000 08:16 AM
12-04-2000 08:16 AM
Re: Scripts
The 'find' command is also useful for finding files with various permissions that meet your criteria.
# find /tmp -perm -g=x
finds all files in /tmp where the Group has eXecute permission.
# find /tmp -perm -o=r -a -perm -o=x
find all files in /tmp where Read and eXecute (search) are allowed for Others.
# find /tmp -perm 777
find all files in /tmp with 'rwx' permissions for the owner, the group, and others.
See the man pages for 'find' and 'chmod'.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 02:09 PM
12-05-2000 02:09 PM
Re: Scripts
Enjoy !
PS: Assign points. From your profile it shows, you have assigned 5 for 36 responses. Not a very good track record isn't it ??