Search Results

Search: Posts Made By: cstsang
Forum: AIX 09-25-2015
3,237
Posted By cstsang
Oh I c thank you very much
Oh I c

thank you very much
Forum: AIX 09-25-2015
3,237
Posted By cstsang
Thank you for your effort One more question,...
Thank you for your effort

One more question, is it possible to assign more than 1 class to the same executable?
If possible, how the workload manager handle this situation?

Thank you in...
Forum: AIX 09-25-2015
3,237
Posted By cstsang
-=XrAy=- : do you mean through WLM, administrator...
-=XrAy=- : do you mean through WLM, administrator can assign amount of resource for an executable file only?
Forum: AIX 09-24-2015
3,237
Posted By cstsang
Work Load manager usage
Dear All

I am studying on system resource control matter.
I know ulimit utility can done the job well.
However,I want to clarify that whether workload load manager work in VM environment only.
...
773
Posted By cstsang
Python question
#!/usr/bin/python
def genCommanString(s):
print s

abc = {
"sftp":genCommanString('f5sftp'),
"/usr/local/ssh/bin/sftp": genCommanString('f5sftp')
}
value="sftp"
xyz =...
2,417
Posted By cstsang
I need to extract whatever that comes after...
I need to extract whatever that comes after "(PROGRAM=" and before ")".In fact, this is Oracle listener log, there are some many "(XXX=YYY)", you are appreciated if you can build a function, it can...
2,417
Posted By cstsang
Regular expression
I would like to extract "JDBC Thin Client" from (PROGRAM=JDBC Thin Client); and "C:\Python26\python.exe" from (PROGRAM=C:\Python26\python.exe); "txm_v_awsrf_db.pr" from (PROGRAM=txm_v_awsrf_db.pr)....
3,094
Posted By cstsang
Getting Process ID of a ftp command
Dear all

Here is my command in my ksh script:

ftp ${ftpParameter} ${serverName} 2>&1 <${ftpScriptFile} |tee -a $LOG_FILE &
ftpPid=$!
wait

Due to server problem,the server accepts the...
Forum: Programming 09-01-2013
6,691
Posted By cstsang
It is because there are many scripts call the...
It is because there are many scripts call the fortran program, so we cannot do so.
By the way, some scripts are not starts with:
#!/bin/ksh

It make krishmaths...
Forum: Programming 08-30-2013
6,691
Posted By cstsang
Find parent process (not process ID)
Hi:

I have a program written in FORTRAN running on AIX platform.
It is because missing of documentation and without root password, therefore we want to modify the program so that we can find out...
1,966
Posted By cstsang
Parsing ksh script
Is there any tool that can parsing ksh script into grammar format?

e.g. the tool can parse the following ksh script:

echo "hello"> abc.txt
cp /home/user/abc/.profile /home/user/abc/myprofile
...
Forum: AIX 12-11-2012
20,062
Posted By cstsang
Firstly, I set LD_LIBRARY_PATH in my .profile as...
Firstly, I set LD_LIBRARY_PATH in my .profile as following:

export LD_LIBRARY_PATH=""

Then wget does not work.
After that, I change LD_LIBRARY_PATH as mention.
What I want to know is how the...
Forum: AIX 12-11-2012
20,062
Posted By cstsang
Set LD_LIBRARY_PATH to 1 or empty
I have a question on setting environmental variable LD_LIBRARY_PATH.
The case is that, i cannot execute wget on my AIX machine.
It return the following error:

exec(): 0509-036 Cannot load...
1,154
Posted By cstsang
My requirement is only accept user input 0 ~ 23...
My requirement is only accept user input 0 ~ 23 and * ( not wildcard, asterisk only ).
Would you tell me how to change the code for archiving my goal?
1,154
Posted By cstsang
String comparsion compare *
Dear all

Would anyone tell me how to prevent user from input non asterisk(i.e. *) character via keyboard?

#!/bin/ksh
targetHour=-1
while [[ ($targetHour != "*") && (($targetHour -lt...
Forum: AIX 10-05-2012
2,468
Posted By cstsang
I found lsof command on my machine it solve my...
I found lsof command on my machine it solve my problem.
thank you very much
Forum: AIX 10-03-2012
2,468
Posted By cstsang
how to find which program that update a specific file
Hello

Would you tell me how to find which program that update a specific file?
I am implementing migration project.
My machines OS are AIX.
It is because lack of documentation, some program...
1,492
Posted By cstsang
This is output of sed -n l ScriptB ...
This is output of sed -n l ScriptB

#!/bin/ksh $
. /home/util/f5ScriptLib$
#LOG_FILE=$LOG_PATH/f5mail.`date '+%y%m%d'`$
LOG_FILE=$HOME/f5mail.`date '+%y%m%d'`$
DEBUG=true$
initLogFile...
1,492
Posted By cstsang
ksh and mail problem
Script A:
#!/bin/ksh
/usr/bin/mail -s "case 4" g@f.com <testF5Email.inp

Script B:
#!/bin/ksh
qq="-s \"case 4\" cstsang@hko.hksarg"
/usr/bin/mail $qq<testEmail.inp

Script A working...
1,573
Posted By cstsang
Franklin52 thank you very much
Franklin52
thank you very much
1,573
Posted By cstsang
AWK filter by column error
I want to found the parent process of the current parent process.

I use the following script.
ps -ef|grep -v grep |awk $3==$PPID print {$8}

It is prompt the following error message:
awk:...
9,094
Posted By cstsang
because of missing #!/bin/ksh, the process file...
because of missing #!/bin/ksh, the process file name cannot found in ps output, so I want to find other method to do so.
9,094
Posted By cstsang
How can I get parent process program name?
Hi:

I have 2 script on AIX server.
The child script is called by parent script.
For example:
The parent script full name is /home/op/def/parent.spt, which calls

/home/op/abc/child.spt

I...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy