10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Sometimes it is necessary to run a job in the foreground that would normally be run as an overnight cron job.
When the job is run in the foreground, slightly different code may be required. Rather than having two scripts, I thought of following:
#!/bin/ksh ... (3 Replies)
Discussion started by: jgt
3 Replies
2. Shell Programming and Scripting
so for the purposes of this thread, interactive scripts are shell scripts that prompts for a response from a user and then waits for the user to enter a response before proceeding.
now, from my understanding of this, the one common string i can expect to find in all interactive scripts is some... (1 Reply)
Discussion started by: SkySmart
1 Replies
3. UNIX for Advanced & Expert Users
Hi
I ran the command vmstat -s , the output is below
2335876 total memory
2307284 used memory
902984 active memory
953180 inactive memory
28592 free memory
445848 buffer memory
1234196 swap cache
779872 total swap
... (3 Replies)
Discussion started by: rakeshkumar
3 Replies
4. Shell Programming and Scripting
I have an HP-UX server that runs a script each night. The script connects to an SFTP server and downloads all xml files (if any are present) from a certain folder, and then deletes the files from the SFTP server. So sometimes it will download a new file, sometimes it will download 2 or 3 new... (4 Replies)
Discussion started by: lupin..the..3rd
4 Replies
5. UNIX for Dummies Questions & Answers
If I have a file like:
9350. 0.288426
9370. 0.320469
9390. 0.394475
9410. 0.353157
9430. 0.336001
9450. 0.336692
9470. 0.356827
9490. 0.359891
9510. 0.346305
9530. 0.356506
9550. 0.348306
9570. 0.36832
9590. 0.379067
9610. 0.0246704
9630. 0
9650. 0
9670. 0 (5 Replies)
Discussion started by: cosmologist
5 Replies
6. UNIX for Advanced & Expert Users
Hey,
I'm in the process of working on a script to identify IO usage on a high IO server I have setup (Debian Etch). My question is how can identify specific processes that are using much of these resources, I can identify the processes using IOTOP, but doing it remotely via script can be a pain... (1 Reply)
Discussion started by: dnbert
1 Replies
7. Shell Programming and Scripting
HP-UX
All,
I work in a manufacturing environment where some users connect to our Progress-based system with wireless RF units (Bar-code). Sometimes they go out of range and get disconnected but their session remains alive (ghost sessions). This sometimes causes record lock problems and is a pain.... (6 Replies)
Discussion started by: rm-r
6 Replies
8. UNIX for Advanced & Expert Users
hi
I am using a GUI language (based on C/C++) for my application. Now i need to identify the "Again" key in the Sun keyboard. I tried to do this by getting the ascii value (4155)of it . it was fine. but it is clashing with F12, whose ascii is 4155 in normal keyboards. Due to this either one of... (0 Replies)
Discussion started by: nimishm
0 Replies
9. AIX
Hi,
I have an AIX server which has a number of root owned semaphores. Is there a way of identifying which processes/threads own these processes so that they can be removed.
I there also a way to remove shared memory segments in a similar way
Thanks.
\ (1 Reply)
Discussion started by: backslash
1 Replies
10. Solaris
i have hundreds of lines of formatted data with 10 different fields per line. the data is refreshed every few minutes and some fields in some lines may reflect new data. i'm looking for a sample of code that help me to identify those new fields so that i can write them to a file to indicate that... (0 Replies)
Discussion started by: davels
0 Replies