I wasn't sure if I should post it here of in the Shell Script category, but I figured it was definitely a newbie question.
I'm trying to write a script that will check for the existence of a specific file (or for any files within the directory) and then take specific actions. I've removed all... (2 Replies)
Hey all,
I have total new with shell scripting so I don't know if what I need to do even possible, here it is...for a duration of time (say...1 hour) I need to check for the existence of a particular file, if it exists then I will invoke a java program or I will continue to check until a)... (2 Replies)
Hello,
I have this process app.fcgi and a directory containing images. I'd like to ensure that only app.cgi can access those images and more generally that folder.Thanks! (1 Reply)
Hi
I want to check a particular file is available or not. But i know only the pattern of that file sat AB1234*.txt.I need the latest file name and it ll be used in the script. How can i do this using ls -ltr command.
Thanks,
LathishSundar V (2 Replies)
Hi,
I want to make a bash script which is running like :
1.sh http://www. google.com
and check if the url does exist printing a message.
I want to save the source code of this page in a file.
Could you help me ? (4 Replies)
Hi
I'm using the below command in shell script to check for file exists in the path
if
.....
fi
path and test are variables
path and the file exists but the commands inside if condition is executed (! operator used)
Is the above way of checking for file existence is correct?
... (4 Replies)
Hope someone can help me on this
In a directory ,files are dynamically generated.I need a script to do the following
if files are not received for more than 2 hours or if the received file is empty
then do something
How can I put that in a script.Thank you
eg. in cd /dir_name the... (13 Replies)
I'm on AIX. I have triggered an infinite loop process (to keep looking for input file availability for further process). At present only I can kill the process.
In case my colleague wants to kill the process for any reason, how do I provide permission to others to kill the process?
Currently... (3 Replies)
Discussion started by: krishmaths
3 Replies
LEARN ABOUT OSX
trace
TRACE(1) BSD General Commands Manual TRACE(1)NAME
trace -- configure and record kernel trace events
SYNOPSIS
trace -h
trace -i [-b numbufs]
trace -g
trace -d [-a pid | -x pid]
trace -r
trace -n
trace -e [-c class [-p class] [-s subclass]] [-a pid | -x pid] [-k code | -k code | -k code | -k code]
trace -E [-c class [-p class] [-s subclass]] [-a pid | -x pid] [-k code | -k code | -k code | -k code] executable_path
[optional args to executable]
trace -t [-R rawfile] [-o OutputFilename] [-N] [ExtraCodeFilename1 ExtraCodeFilename2 ...]
DESCRIPTION
The trace command allows developers to initialize and configure the kernel trace subsystem. Trace events can be recorded to an in-memory buf-
fer, or logged directly to a file. Raw data files can later be decoded to a plaintext format.
SEE ALSO fs_usage(1), sc_usage(1), latency(1), top(1)Mac OS X October 28, 2010 Mac OS X