Questions tagged [hp-ux]

HP-UX (Hewlett-Packard Unix) is Hewlett-Packard's proprietary implementation of the Unix operating system.

Recent versions support the HP 9000 series of computer systems, based on the PA-RISC processor architecture, and HP Integrity systems, based on Intel's Itanium architecture.

Official web site: http://www.hp.com/go/hpux/

Software ports: http://hpux.connect.org.uk/

HP-UX man pages: http://www.polarhome.com/service/man/?of=HP-UX

151 questions
23
votes
5 answers

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…
munish
  • 7,825
  • 24
  • 71
  • 97
18
votes
5 answers

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.
Hemant
  • 6,834
  • 5
  • 38
  • 42
16
votes
3 answers

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 think you could have any number of zombies just as…
ProfessionalAmateur
  • 3,115
  • 3
  • 18
  • 17
10
votes
2 answers

xargs doesn't use my "ls" alias

On AIX (but this happens on HP-UX as well), I have GNU ls in my path and it is also aliased as ls. When I use xargs, it instead uses the standard Unix ls instead of the alias. For example (flocate is a function which finds the exact path of the…
elbarna
  • 12,050
  • 22
  • 92
  • 170
8
votes
2 answers

How to prevent HP-UX command "less" from messing up my prompt?

I don't like the output of more on HP-UX, so I use less instead as a pager: PAGER=less Its output is nice, but, on Linux, when I use man and then quit, I go back to the shell, and the display looks just the way I left it, but on HP-UX, when I go…
elbarna
  • 12,050
  • 22
  • 92
  • 170
7
votes
1 answer

HP-UX 10.20 software depots

I've been looking for HP-UX 9.X and 10.20 patches and it looks like I'm late to the party. I found the original FTP sites from HP have all been taken down. I'm sure that someone must have made a complete mirror of these materials. I would have done…
HackSlash
  • 461
  • 3
  • 10
6
votes
1 answer

Getting terminal access on old, strange hardware

I have an old, esoteric piece of special-purpose hardware (it's a HP logic analyser system). It's running HP-UX (because OLD). Right now, it boots right into an X session with the special logic-analyser software running. I'd like to get to a…
Fake Name
  • 499
  • 5
  • 16
6
votes
2 answers

find path directory in sub directory

I want to find the path for directory name bbb where the parent directory called aaa For example /aaa/bbb /tmp/aaa/bbb /usr/bin/aaa/bbb /home/aaa/bbb /home/aaa/xxx/bbb So i wrote something like this: find /*/aaa -name bbb In some platforms it…
Nir
  • 1,265
  • 7
  • 23
  • 34
5
votes
3 answers

quotes inside backticks inside quotes in ksh

I'm trying to get the file of the current date with the following command in HP-UX Unix: $ ls -lrt ABC.LOG* |grep "`date +"%b %d"`" But, it's giving me the error: ksh: : cannot execute grep: can't open %d Any suggestions?
User123
  • 375
  • 1
  • 5
  • 17
4
votes
0 answers

Is there a standard POSIX way of doing `tac`

Looks like at least IBM AIX and HP-UX don't have the tac command by default. Is there a way to do this using just basic posix standard shell utilities available on all UNIX systems? Furthermore, is SMCcoreu package on Solaris (which provides tac on…
Kimvais
  • 286
  • 2
  • 8
4
votes
3 answers

Any alternative of "man -a" on UNIX?

man -a opens all the man pages one by one which contain xyz. On my unix servers man -a doesn't work. Is there any alternative for this on unix? EDIT: I am on HP-UX. Following message : hemantj [109]> man -a printf Usage: man [-M path]…
Hemant
  • 6,834
  • 5
  • 38
  • 42
4
votes
1 answer

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 around this by logging in as a different user,…
Sammitch
  • 334
  • 2
  • 10
4
votes
1 answer

Can hyperthread be enabled

I would like to know if hyperthread can be enabled on my operating system or not? I am using HP-UX Itanium, below is truncated output of machinfo Intel(R) Itanium(R) Processor 9560 (2.53 GHz, 32 MB) 8 cores, 16 logical processors per socket …
4
votes
2 answers

Get List of Directories and Timestamp in a specific format in HP-UX

I am on HP-UX B.11.11 OS. My requirement is to display a list of directories only and the last modified time format should be DD-MON-YYYY HH:MI:SS AM/PM. I am able to get the list using either ls -lF | grep / OR ls -ld -- */ but I am…
NiCKz
  • 63
  • 7
4
votes
1 answer

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 the single '/' should mean that I want everything…
1
2 3
10 11