HP-UX (Hewlett-Packard Unix) is Hewlett-Packard's proprietary implementation of the Unix operating system.
1
vote
1answer
46 views
List of killed processes HP-UX
Is there a file similar to the one in this answer http://unix.stackexchange.com/a/10078/5027 to determine the processes which were killed, in a certain time, for example, yesterday, in HP-UX?
1
vote
0answers
48 views
I have a route to the network but from the traceroute output it doesn't leave the server
I have an HP-UX box and I'm trying to determine why a host can't be reached. I'm trying to reach the host 10.32.13.146
root@hp-ux:/root # traceroute -I 10.32.13.146
traceroute to 10.32.13.146 ...
2
votes
1answer
595 views
Ksh Script to ftp multiple directories simultaneously
I'm new to this site and i have this problem:
I have a directory in unix with multiple directories in it. Each directory have around 5k files in it. So we are talking about 40k to 50k files. I need ...
3
votes
0answers
159 views
stty before login
We've got some HP-UX Integrity VMs that are difficult to log in to at the console because the KILL character is set to @, which also happens to be a component of some passwords. Now I know we can get ...
0
votes
0answers
58 views
HP-UX Directory Server Question
I have been tasked with installing HP Directory server(HPDS) 8.1,64-bit as a single sign on LDAP solution in my test environment and subsequently other environments.I am new to this product
We are ...
1
vote
1answer
87 views
Update HP-UX 11i software
I have an old HP-UX 9000/800 PA-RISC B.11.11 (11i) on hands and I'd like to update its services to newer version.
Actually, I'd like to update LD from current version B.11.18 to B.11.32; and ...
10
votes
2answers
474 views
Is there an upper limit to the number of zombie processes you can have?
I used to work with an HP-UX system and the old admin told me there is an upper limit on the number of zombie processes you can have on the system, I believe 1024.
Is this a hard fact ceiling? I ...
3
votes
0answers
129 views
HP-UX Boot from SAN
Does anybody knows how to make HP-UX boot from SAN?
Any help would be highly appreciated. I'm totally disappointed by HP's lack of documentation.
The server is RX8640 with HP-UX 11.31
3
votes
1answer
279 views
GVim compiled from source does not use gtk2
I have two HP-UX machines say A and B with HP-UX 11.11 and 11.31 respectively. I'have compiled gvim 7.3 from source an B, and gvim 7.0 on A.
On A, gvim uses "version with GTK GUI", Compilation with ...
3
votes
1answer
294 views
HP-UX 9: Backup filesystem using tar
So I've got an HP-UX 9 box that I'm trying to backup, first to a tape with fbackup, to no avail, and now to a folder shared over NFS. I'm using the command "tar -cvf /nfs/Results/backup.tar /" where ...
1
vote
0answers
256 views
Need help to create a Unix shell startup script [closed]
Is there a way to create a Unix shell script (on HP-UX) that will start on server at boot time only, and will execute the following commands in order:
# cd /mysql
# ./bin/safe_mysqld --user=root ...
3
votes
2answers
3k views
Search string in many files on HP-UX
I need to find which files (they can have space in the filename) of a directory contains a string using only sh and system's commands (Perl is not an option).
For a few files, this command works ...
-1
votes
1answer
688 views
List mount points owner and group
I'm running HPUX 11.x and I was wondering if there's a command that would list all the mount point owner and group. I want a listing like df or bdf but with ownership information. Any suggestions? ...
1
vote
3answers
549 views
How to shut down or reboot a machine? [on different OSes]
What parameters do the "shutdown" command [or other command?] NEED, TO BE SURE that the machine reboots or shuts down for SURE?
e.x.: version for Linux:
# cat /etc/SuSE-release
SUSE Linux ...
3
votes
1answer
425 views
Command for swap info in HPUX itanium and HPUX PARISC?
I need to get commands for swap information in HPUX (both Itanium and PARISC) somebody please help. Thanks
3
votes
3answers
797 views
Show lines matching a pattern and the 4 lines before each
For example, from this file:
CREATE SYNONYM I801XS07 FOR I8010.I801XT07
*
ERROR at line 1:
ORA-00955: name is already used by an existing object
CREATE SYNONYM I801XS07 FOR ...
3
votes
1answer
200 views
HP-UX SZ limit for ps?
Right so I have a fun little thing that I'm deathly confuzzled about. I have a program that is running and I am getting the following:
using top:
SIZE RES
1639M 359M
using ps:
SZ
20171
...
2
votes
4answers
1k views
Is there a way to sum up the size of files listed?
This is the command I am using to list some files:
find . -name \*.extract.sys -size +1000000c -exec ls -lrt {} \;
-rw-r--r-- 1 qa1wrk15 test 1265190 Sep 29 01:14 ...
1
vote
1answer
1k views
Start a service on HPUX at boot
I'm trying to start a service on HPUX 11.31 at boot time. I generated the appropriate symlinks, but the system is not starting it up. If I run the script once the system is up, everything works as ...
2
votes
1answer
1k views
Static routes in HP-UX
I need to set static route in HP-UX. I edited /etc/rc.config.d/netconf file and added new entry for my route:
ROUTE_DESTINATION[1]="10.105.2.0"
ROUTE_MASK[1]="255.255.255.0"
...
2
votes
1answer
256 views
Which Linux distro resembles HP-UX?
I'm looking for a Linux distro (or some Unix flavor...) that is similar to HP-UX so that I practice the command line as well as other things. This is in order to get CSA Certification. Which distro ...
1
vote
2answers
181 views
How can I add a space automatically after every command I type in bash?
Due to some unknown reason I am not able to edit/delete the last character of any bash command from the bash history i.e. when I access last bash command using 'up' arrow I cannot change or delete the ...
1
vote
1answer
408 views
How to Mirror one more disk on existing filesystem
in my test machine i can see the filesystem list using bdf commands.
$bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 58916864 6242747 49386840 11% /
...
3
votes
1answer
268 views
hpux leaves files that start with a # behind after I uninstall a program. Is this normal and how do I delete them?
I have tried using rm -f on these files, and I am running as root, so I should be able to delete them. So why does this program leave behind these files and how can I remove them.
Here is what the ...
2
votes
2answers
501 views
HPUX setacl leaves uid behind
I have a shell script that I execute after uninstalling a web application. The script is meant to clean up permissions that were needed during the execution of the application.
find /opt/path -exec ...
2
votes
2answers
1k views
How to use STL in unix and linux?
How to use STL(standard template library) in HP-Unix . How to compile and run the program with STL functions?
12
votes
5answers
2k views
How can I edit a large file in place?
I have a few files sized > 1 GB each. I need to remove last few bytes from the files. How can I do it? I prefer to edit file in place to save disk space.
I am on HP-UX.
3
votes
3answers
349 views
Any alternative of “man -a” on UNIX?
man -a <xyz> opens all the man pages one by one which contain xyz.
On my unix servers man -a <xyz> doesn't work.
Is there any alternative for this on unix?
EDIT:
I am on HP-UX. Following ...