Now tested on the latest OSX 10.12.3 Sierra on a(n) MBP and iMac.
And it is still working - WOOHOO.
The code now has some error checking and commented out code for a "path" option instead of just "tmp" alone.
It is bash centric but should work fine on ksh(93)...
i am having a weird error on mac os x running some shell scripts. i am a complete newbie at this and this question concerns 2 scripts. one of which a friend of mine wrote (videochecker.sh) a couple weeks ago and it's been running fine on another machine.
then last week i wrote capture.sh and it... (2 Replies)
I want to config Transparent Proxy using Shell Script.
I have more questions<exercise of me :D>:
+ Check that the squid is installed or not install and version is installed
+Allows users to choose to run a transparent proxy or not
+Perform configuration and turn on service in accordance... (0 Replies)
Hello,
I am new to Mac OSX and shell scripting all together. I was wondering if anyone could help get me started in a few scenarios so that I would be able to automate checking a system against a STIG checklist. A STIG Checklist is a DoD Guideline for securing systems. Here is the first... (3 Replies)
I'm trying to record audio using Audacity 2.0.5 installed from SlackBuilds. My system is 64-bit Slackware 14.1 and a sound card is Intel HD Audio. I didn't change my sound system to OSS. (Default sound system in Slackware 14.1 is ALSA, isn't it?) First, I set Internal Microphone slider in KMix... (2 Replies)
Hi,
I want 10000+ unique Audio file of approx 2MB each. How can i generate numerous audio files using shell script. Any tool, command or suggestions are welcome.
If i give one audio seed file then can we create numerous unique files with same seed file?
Any help is highly appreciable.... (11 Replies)
Hi everyone...
I don't know if this is the correct forum but it is Apple OSX specific.
It is a proper pseudo-man page for the sparse official one...
This is as thorough as experimentation can get...
Command line afplay, August 2016.
---------------------------------
afplay -h
... (0 Replies)
This is a DEMO shell script to generate a simple graticule and plot inside it...
Apologies for any typos...
it is another building block along with my other two shell uploads recently to start a semi_serious project of an Terminal_AudioScope...
The fist upload I posted recently was to show... (83 Replies)
Hello everyone!
I'm developing a MacOs Application in python and I'm having some issues trying to find information related to the power button pressed event. I know that in Ubuntu 14.04 you can find information about it on the acpi folders, but I realized that here in Mac that process is... (0 Replies)
Hello,
I have a backup script that runs an rsync backup to an external drive. I use the script frequently on Windows and Linux and have installed it on a Mac. The script has an option to run shutdown after the backup has completed. Since backup can take hours to run, this is an option that is... (10 Replies)
Discussion started by: LMHmedchem
10 Replies
LEARN ABOUT OSX
spindump
spindump(8) BSD System Manager's Manual spindump(8)NAME
spindump -- Profile entire system during a time interval
SYNOPSIS
spindump [pid | partial-name [duration [interval]]] [-file path] [-wait] [-findDsyms] [-delayOnSignal seconds]
DESCRIPTION
spindump is used by various system components to create reports when an unresponsive application is force quit. Reports are stored at:
/Library/Logs/DiagnosticReports/
For normal application force quits spindump will display a dialog to offer the choice to view more details and/or send a report to Apple.
-------------------------------------
When run manually, spindump samples user and kernel stacks for every process in the system.
The process with the matching pid or partial-name will be sorted topmost in the report, if specified. "-notarget" may be used to avoid pro-
viding a target process when specifying a duration and interval.
duration is the duration of the sampling in seconds. If not specified, the default of 10 seconds is used.
interval is the number of miliseconds between samples. If not specified, the default of 10 miliseconds is used.
The -file argument specifies where the report should be written. If path is a file, it will be overwritten. If path is a directory, a file
will be created inside that directory with the name following the format <appname>_<pid>.spindump.txt. If a file by that name already exists,
spindump will add a unique number to the filename. If not specified, spindump will output reports to files inside /tmp.
The -wait flag tells spindump to wait for the process to exist before sampling. If the process already exists, spindump will begin sampling
immediately.
The -findDsyms flag tells spindump to use spotlight to find dsyms for use during symbolication.
The -delayOnSignal argument tells spindump to wait seconds seconds after receiving a signal before exiting.
SEE ALSO SubmitDiagInfo(8), sample(1)Darwin September 11, 2008 Darwin