We have a process that is running out of file handles. We are trying to address this problem with the vendor, but in the meantime we need to bounce it when it is getting near the limit. Curren...
I want to execute a sql statement using sqlplus inside a KSH script. I want to execute a simple count(*) on a number of tables and send the results out to variables in my script. The following...
Hello Experts.
I'm sure this is a simple one, but not within my small realm of knowledge.
How do check to see if a file is at least a certain size? I want to say:
If my_file.txt is g...
HP-Officejet 6310
Flashing display
Reset power
no function
I have a unix environment SOLARIS. I am trying to find directory size for each directory in MB like:
/home/sam
Now I want to know what is sam size in mb.Thank you
Hello All,
I need help in displaying the tab character in UNIX. I am writing a script which will load the tab delimited text file into a Teradata table. I tried to use the below but it didnÂ’...
I have a text file in UNIX.
I want to remove a specified # of lines from the file and keep the new file without the deleted lines.
The idea is that the file is a large file and I just ...
I have a HPUX server with java 1.5.0.03
I have several java applications running on this server.
The problem is that the java applications use the wrong timezone when logging to a logfil...
Hi,
For Solaris 10, I've got the answer I needed at :
http://docs.sun.com/app/docs/doc/816-4554/gafxi?a=view
I would like to do the same network teaming/bonding (as it's
termed in ...
Hi all,
I have never worked with HP-UX before. Could anyone please help me clarify the following,
1) How to find the processor type of HPUX whether it is : Itanium or PA-RISC o...
I need to install Bash in a UNIX HP . I need also assistance on how to install it.
I am trying to configure a HPUX, version 11, print queue to print to a HP Color Laser Jet 2600n with a built in network print server but, HPUX (SAM) does not recognize it. I'm trying to print ...
Hello,
I have to parse a text file. If every row ends with semicolon (;), I have to remove semicolon.
How would you realize that in Korn Shell?
How do I move the system clock ahead 1 hr for new daylight Savings time on
HP-UX cronos B.11.00 U 9000/800 172981587 unlimited-user license (cronos is the machine name)
We have been ad...
Hi all,
I am working on a shell script to extract information from a file that has output from sqlplus. The problem is the output of a single line is spread across multiple lines a...
Hi,
On HP-UX, developing in Java, how can I add line breaks to an xml file?
My Xml looks like:
<?xml version="1.0" encoding="windows-1252" standalone="no"?><DELVRY03><IDOC BEGIN="1"><ED...
Good evening,
I have a windows *.zip file and I must decompress it in HP UX environment. Unfortunately, the unzip command is not available. How can I fix this? I would like to produce a ...
How to redirect both standard out and standard error to the same output file in Korn Shell?
Environment is HP .... Korn Shell
sed regular expression how do I global replace all strings "left" with "leftK" but not if the string is prefixed with "table" i.e "tableleft" ?
Better yet, once this can be done, how can I ...
HP-UX Superdome:
I need a Korn Shell script that will echo the parameters for the following values:
- max_thread_proc
- Maxfiles
- Nkthread
- Nproc
- Maxdsize
This is probably quite...
I saw an exclamation mark "!" after the username in /etc/passwd. Does it mean that the user is disabled or it means that they used shadow file?
Anyway how do you disable a particular user i...
Dear Gurus,
I have a big problem. I am running HP UX 11.23 on Rp4440 server with no issues. All of a sudden, due to some wrong execution of some script, some of my /etc/files are deleted. T...
Hi experts, I have the latest oracle patch with is .zip file and need to uncompress it on HPUX but when I use gunzip -Sf .zip filename or gunzip -S filename it gives suffix errors etc. How can...
Hi,
I'm working in HP-ux 11 and I'm trying to get yesterdays date into a variable that I can use later on in a script.
I use the format:
DATE=`date '+%d-%b-%Y'`
which gives me i.e. 01-Jan-...
I have two HPUX boxes. They are on seperate subnets with a router between them.
I am trying to replicate some files from one box (old server) to another box (new server).
The process I a...