- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- any known problems with dd using 10.20?
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
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
11-17-2000 12:42 PM
11-17-2000 12:42 PM
any known problems with dd using 10.20?
cpu=`sar -u -s${prevhour}:00:00 -e${currhour}:05:00 | tail -3 | head -1| a
wk '{print $NF}'`
cpu=`expr 100 - $cpu`
totmem=`dd if=/dev/mem of=/dev/null bs=1024k 2>&1 | tail -1 | cut -d+ -f1`
totmem=`expr $totmem \* 1024`
freemem=`/usr/bin/vmstat -n | head -4 | tail -1 | awk '{print $2}'`
freemem=`expr $freemem \* 4`
percmem=`expr $freemem \* 100 / $totmem`
percmem=`expr 100 - $percmem`
load=`/usr/bin/uptime | sed -e "s/^.*load average://" -e "s/ *//g"`
echo "${host},${now},${load},${freemem},${cpu},${percmem}" > /sqlmnt/tmp/$
{server}load.csv
Again, remember, this script is run every 2 hours on 3 boxes for over a year now, why would it just now cause one to crash?!?!?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2000 01:15 PM
11-17-2000 01:15 PM
Re: any known problems with dd using 10.20?
I don't think your 'dd' to obtain the amount of memory is a problem. I've seen technique used before in other forms.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2000 01:49 PM
11-17-2000 01:49 PM
Re: any known problems with dd using 10.20?
Is the disk attached to a storage area network or fiber disk? If so there is a problem with dd and fiber on 10.20.
Tyrone
tkimp@allstate.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 09:23 AM
07-24-2002 09:23 AM
Re: any known problems with dd using 10.20?
I just had the same problem with the only clue the same type dd execution around the time of the crash. What turned out to be the root cause of the problem? Was the dd the straw that broke the camel's back or what?
Dave
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2002 09:33 AM
07-24-2002 09:33 AM
Re: any known problems with dd using 10.20?
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2002 10:24 AM
08-06-2002 10:24 AM
Re: any known problems with dd using 10.20?
After experiencing the same problem twice on separate systems within a month and thinking the dd statement was the problem and not knowing for sure, the Response Center has confirmed the theory. They say that at 10.X the HP-UX memory driver is not multi-process safe. Therefore if there is more than 1 simultaneous direct access to /dev/mem the system can panic. While the dd if=/dev/mem, etc. process is running (and it does take some time to finish) we have a vulneralble period where that 2nd access to /dev/mem can cause the panic. Another potential problem is running Q4 on the live system files as that would constitute direct access to /dev/mem. However, it is perfectly OK to run Q4 on data in the crash directory since that is not live data. Anyone on 11.X can disregard this because your systems are beyond this problem