I needed to identify all the child processes belonging to a given process id. From a search here, I found this post [thread822-721794], which suggested ptree (from the Solaris world). However, ptree is not available on the RedHat installation that I work on, but instead provides "pstree". I...
From what I read on the internet, this ought to be a simple task to accomplish, but I can't seem to get XSLT to do what I need...
Am receiving an XML message and I need to create an identical output XML message except with some of the element names replaced. In the input message below, I would...
On our system we generate a large number of temporary files every day, and at the end of the day, we remove them. Except lately, the number of files has grown to be quite long, so the remove command we are executing is failing, as shown below:
$ rm RECPT-ZONE*
-bash: /bin/rm: Argument list too...
Not sure if this is the best forum to post this, but hopefully somebody here might be able to point me in the right direction.
I am trying to POST an HTTP request to a business partner's web site using the Linux curl command, but I am having trouble sending all my content. They want the message...
Need to do an mget for an unspecified number of files and follow that with an mdel that only deletes the specific files that were "gotten". Is there a way to do this all within ftp?
Seems like I will have to do the mget first, then outside of ftp, identify the files that were retrieved and...
Am sending e-mail with pdf attachment from Linux RHEL to corporate e-mail server (Kerio Connect 7.1), which is delivered to user desktops who are using Outlook 2003 mail client, but we can't successfully open the pdf attachment from Outlook 2003 mail client. When we attempt to open the pdf, we...
Can anyone recommend any tools/tips or other reference materials for doing general performance/load testing for a web site?
I found this page which has a lot of items on it, but it'll take me some time to research all of these and narrow it down. Any suggestions or references would be much...
Anybody have a solution for sending / receiving messages to a specified IP address/port? I need to interface with a commercial package from our in-house systems running RM/Cobol 11 on Linux. Need synchronous communication. Otherwise messaging middleware would be an option (maybe an expensive...
I am working on a problem related to fitting a rectangular box diagonally inside another, larger, rectangular box. Please see diagram here.
I have searched the web for similar problems/solutions, but have only found notes indicating that the solution will be based on a quartic equation which...
Can anyone offer reasons to prefer using find vs using a for loop to process files in a script?
In other words, which of the options below is better?
find
find . -name "*.ext" -exec do_something {} \;
versus
for loop
for file in *.ext
do
do_something $file
done
Code what you mean...
Am not getting the e-mail with output from script (NIGHTLY-PROCESSING.s) run from cron. Suspect another script (LISTEN-PTS.s) started as background task from cron script is holding things up. It's as if the script started in background is holding up the cron script from finishing. If I manually...
Anybody here been to this event before? If so, how was your experience?
http://www.microfocusworld.com
We are a Liant shop. I am interested in attending MFW in hopes of learning how MF will handle (or fold) RM/Cobol into their existing product line, but my general sense is that these things...
Ok, not sure if this is the right forum for this question, but to my mind it should be.
I am looking for suggestions or descriptions of best practices for setting up (or more accurately, changing) the calling structure for an application.
Here's the scenario:
We have a fairly large code base...
I have a script that starts a long running task in the background. I would like to capture the process id of that task when it is started. Is there a way to do that?
For example, if I have...
$ cat delay
runcobol /u/usr/acct/rsrp/DELAY -k -a $1
$ delay 5 &
[1] 786
I want to capture the...
SCO 5.0.6 has a "banner" command that creates large character representations of a given character string which is useful for separating/identifying print output.
banner a
produces
##
# #
# #
######
# #
# #
I don't seem to be able to find the same sort of program under RH...
Moving from SCO 5.0.6 to Linux Redhat 2.6.9-55.EL (?)
Am missing that the PageUp and PageDown keys were recognized by vi on sco as ^b and ^f.
Is it possible to map these keys (pageup/pagedown) in vim on Linux to ^b and ^f? If so, how do you specify "pageup" and "pagedown" keys? When I press...
Not sure if I should post this on Microsoft Office forum, but I think someone here might be better able to understand what my issue is.
Am creating a CSV text file from an RM/Cobol program running on Unix (SCO V.5.0.6). CSV file is then attached to an e-mail text file and sent out to various...
Does anyone know of a way to load the search string in vi without actually typing the search string at the keyboard?
Usually, if I need to search for a long string, I will use the Windows cut and paste functions to avoid having to retype the search argument. But it would be nice if there were...
Anyone have any suggestions for trapping program termination due to session termination as in a Windows or Unix environment?
We are running RM/Cobol programs in Unix environment (SCO 5.0.6). The users are running these programs under telnet and are sometimes (often enough for us to want to do...
I have some text files with record lengths up to 512 characters. I want to lp these files to a printer but I want the text to "wrap" at 80 characters. That is, any characters after position 80 should not be truncated, but rather print on the next line.
I'm sure there must be a simple way to do...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.