- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- .sh_history files growing by leaps and bounds
Categories
Company
Local Language
Forums
Discussions
- Integrity Servers
- Server Clustering
- HPE NonStop Compute
- HPE Apollo Systems
- High Performance Computing
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp Software
Knowledge Base
Discussions
Forums
Discussions
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
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-24-2003 02:21 AM
12-24-2003 02:21 AM
.sh_history files growing by leaps and bounds
Is anyone else experiencing this problem? Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 02:27 AM
12-24-2003 02:27 AM
Re: .sh_history files growing by leaps and bounds
I don't even set HISTSIZE and the largest I see on my systems is somewhere around 4K. Just how big is HUGE?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 02:28 AM
12-24-2003 02:28 AM
Re: .sh_history files growing by leaps and bounds
-Hazem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 02:38 AM
12-24-2003 02:38 AM
Re: .sh_history files growing by leaps and bounds
This is a shared .sh_history file. I do understand about the 4 requirements that must exist before the file will be trimed. But even when all 4 requirements exist the file doesn't get trimmed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 03:43 AM
12-24-2003 03:43 AM
Re: .sh_history files growing by leaps and bounds
If you need to share this file, you'll need to use cron to trim it. But because the shell puts markers in it, simply zeroing the file may cause the history to display nothing but blank lines. Removing the file and recreating it seems to work OK.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 04:29 AM
12-24-2003 04:29 AM
Re: .sh_history files growing by leaps and bounds
HISTSIZE is not set in /etc/profile or /home/root/.profile.
grep /home/root /etc/passwd only displays the root user having use of the /home/root directory.
Thanks in advance.
Lisa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 12:23 PM
12-24-2003 12:23 PM
Re: .sh_history files growing by leaps and bounds
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2003 01:45 PM
12-24-2003 01:45 PM
Re: .sh_history files growing by leaps and bounds
richard
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2003 05:48 AM
12-25-2003 05:48 AM