script to capture


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting script to capture
# 1  
Old 07-01-2008
script to capture

Hi
In my production server some user runnig some scripts
to get some data.
I need a script to capture this user script code.

best rds
ab
# 2  
Old 07-02-2008
Hi
Any update
rds
# 3  
Old 07-02-2008
If you want to see the code the user is running, just look at their script. If you are looking for something else, you'll need to clarify what you want.
# 4  
Old 07-03-2008
They don't want to show the scripts which they are running in the system
That is why is there is any way i can capture the script code to find what they are doing
rds
# 5  
Old 07-03-2008
You can run a truss of their process ID, but you don't need their approval to go look at their scripts. Just watch the process listing for it, and go read the file. I f you don't have sufficient access, then you won't be able to see what they are running realtime either.
# 6  
Old 07-03-2008
PHP

Quote:
Originally Posted by aboorkuma
Hi
In my production server some user runnig some scripts to get some data.
Quote:
Originally Posted by Smiling Dragon
If you want to see the code the user is running, just look at their script. ....
Quote:
Originally Posted by aboorkuma
They don't want to show the scripts which they are running in the system
If you own the server and you have "root" access you can see whatever you want !
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Capture run time of python script executed inside shell script

I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
2 Replies

2. Shell Programming and Scripting

Shell Script to Capture a Screenshot

Hi All, Suppose I want to take a screenshot of a website say Google and save that image. How should I do it? I tried wget with this but of no help. It just makes a particular file in jpeg format but on opening the same it says corrupted. Although I can edit the jpeg as an HTML file. wget... (15 Replies)
Discussion started by: ankur328
15 Replies

3. UNIX for Dummies Questions & Answers

How to capture ^x,^y via bash script?

Hi I am new to this forum. Any please help me to capture ctrl x and ctrl y via a bash script. and please tell me how to clear the prompt via bash script BR Ramukumar M (4 Replies)
Discussion started by: ramukumar
4 Replies

4. Shell Programming and Scripting

How to capture the exit code of a shell script in a perl script.?

hi, i want to pop up an alert box using perl script. my requirement is. i am using a html page which calls a perl script. this perl script calls a shell script.. after the shell script ends its execution, i am using exit 0 to terminate the shell script successfully and exit 1 to terminate the... (3 Replies)
Discussion started by: Little
3 Replies

5. Shell Programming and Scripting

How to capture exit code of child script and send it to parent script?

#!/usr/local/bin/bash set -vx /prod/HotelierLinks/palaceLink/bin/PalacefilesWait /prod/HotelierLinks/palaceLink/bin/prodEnvSetup 03212013 & if then echo "fatal error: Palace/HardRock failed!!!!" 1>&2 echo "Palace Failed" | mail -s "Link Failed at Palace/HardRock" -c... (1 Reply)
Discussion started by: aroragaurav.84
1 Replies

6. Shell Programming and Scripting

How to capture script return code?

Hi I am executing database backup via shell script (Korn). The backup log is long, but I would like to capture only the last line so I can send an email if it fails Example of failed backup (only last 3 lines) BR0056I End of database backup: bejbofoh.aff 2012-07-26 07.31.21 BR0280I... (7 Replies)
Discussion started by: nimo
7 Replies

7. Shell Programming and Scripting

how to capture PID for a child script

Hi, I'm looking for a method where we can capture the PID and if possible the progress of child process especially the ones running in background. can anyone help? (6 Replies)
Discussion started by: aman jain
6 Replies

8. Shell Programming and Scripting

Script to capture errors

Hello; I'm trying to write a script to capture any hardware error from logs/syslog on my SUSE 10 servers so i can be notified if we have any hardware issues such a bad fan or battery, etc.. Thanks in advance for any help (2 Replies)
Discussion started by: Katkota
2 Replies

9. UNIX for Advanced & Expert Users

How to capture STDOut of script in a CGI script?

Hi Perl Experts, I am invoking a shell script thru a perl script and the perl script is cgi script.I need to capture the STDOUT of the shell script in the html page where I am invoking the script .?The shell script takes couple of mintutes to complete its execution .Mean while my html page does... (1 Reply)
Discussion started by: kittu1979
1 Replies

10. Shell Programming and Scripting

script to capture certain output

Hi All, I want to create a script that capture only Date & Time, Current CPU % usage, Disk % usage, Mem % usage and Top process based on this output; Data Collected: 05/17/08 17:19:49 Refresh Interval: 600 seconds GlancePlus Started/Reset: 05/17/08 08:19:45 B3692A GlancePlus... (18 Replies)
Discussion started by: fara_aris
18 Replies
Login or Register to Ask a Question