Sponsored Content
Top Forums Programming Parallel Processing Detection and Program Return Value Detection Post 302535729 by Corona688 on Friday 1st of July 2011 01:13:50 PM
Old 07-01-2011
Quote:
Originally Posted by azar.zorn
is it possible to tell what created the thread or child process?
Try ps -ejT, that should print a process tree. The information ps uses to create this may be available under /proc/. For more detail than that I'd need to know what your system is.
Quote:
or follow the child/thread to find the program it is linked to?
You can do that too! If you're on Linux, strace prints all system calls the program makes as it happens, including the various clone_* ones that Linux uses to create threads or processes. (you'd want to run it with -f so it follows any children it creates in the meantime too.) I think Solaris has dtrace. Other systems I'm not sure.

How to get information on threads would be a lot more system-specific than information on processes.
This User Gave Thanks to Corona688 For This Post:
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

virus detection

IS there virus software for unix? I worked in a Solaris environment and dont remember having anything. I also ask because the current enviroment i am working on is Microsoft and they argue that they do not use unix because of virus detection. Any input would be greatly appreciated. (1 Reply)
Discussion started by: pbonilla
1 Replies

2. IP Networking

modem detection

How to get information that where is my modem configured in /dev. I have two modems configured in my device .. one is USB and other is PCI modem.. USB is detected as /dev/USB0. but how to see about PCI modem? (0 Replies)
Discussion started by: s123.radha
0 Replies

3. UNIX for Dummies Questions & Answers

Parallel processing using AWK program

Hi All, could any expert tell me about writing a parallel processing program using AWK program is possible or not? Any example would be much appreciated... With Regards / Mysore Ganapati :confused: (5 Replies)
Discussion started by: ganapati
5 Replies

4. Shell Programming and Scripting

NAT detection

hellou, can anybody help me with nat detection in real time ? i prefer some detection script because i try some nat detection program's for example p0f or i'm using tcpdump, but i would get contain of specific packet. Some ideas? (1 Reply)
Discussion started by: TheTechnic
1 Replies

5. AIX

NFS mount detection

Hi, I have a handy script in Linux, part of which checks for the presence of nfs mounts, using the information in /proc/mounts. Is there a suitable command or file in AIX that could be used in a similar way? Many thanks in advance (1 Reply)
Discussion started by: SDG
1 Replies

6. Shell Programming and Scripting

SQL Injection Detection

I want to grep/awk /var/log/httpd/mysite-access_log.log and check if 2 words from the following appear in a single line: benchmark union information_schema drop truncate group_concat into file case hex lpad group order having insert union select from (12 Replies)
Discussion started by: koutroul
12 Replies

7. Shell Programming and Scripting

Curl detection of redirect

This URL: Internet Archive Wayback Machine ..will redirect to this URL when using a browser: https://web.archive.org/web/20140110200053/http://rapor.tuik.gov.tr/reports/rwservlet?adnksdb2&ENVID=adnksdb2Env&report=wa_idari_yapi_10sonrasi.RDF&p_il1=17&p_yil=2012&p_dil=2&desformat=html But... (0 Replies)
Discussion started by: Mid Ocean
0 Replies
VPO(4)							   BSD Kernel Interfaces Manual 						    VPO(4)

NAME
vpo -- parallel to SCSI interface driver SYNOPSIS
device vpo For one or more SCSI busses: device scbus DESCRIPTION
The vpo driver provide access to parallel port Iomega Zip and Jaz drives. HARDWARE
The vpo driver supports the following parallel to SCSI interfaces: o Adaptec AIC-7110 Parallel to SCSI interface (built-in to Iomega ZIP drives) o Iomega Jaz Traveller interface o Iomega MatchMaker SCSI interface (built-in to Iomega ZIP+ drives) USAGE
The driver should let you use a printer connected to the drive while transferring data. DOS and FreeBSD file systems are supported. When mounting a DOS file system or formating a FreeBSD file system, check the slice of the disk with the fdisk(8) utility. In order to unixify a ZIP disk, put the following in /etc/disktab: zip|zip 100: :ty=removable:se#512:nc#96:nt#64:ns#32: :pa#196608:oa#0:ba#4096:fa#512: :pb#196608:ob#0:bb#4096:fb#512: :pc#196608:oc#0:bc#4096:fc#512: and use bsdlabel(8). If you have trouble with your driver, your parallel chipset may not run properly at the detected mode (NIBBLE, PS2 or EPP). Tune the ppc(4) bootflags to force other modes. SEE ALSO
da(4), lpt(4), ppbus(4), ppc(4), scsi(4) HISTORY
The vpo manual page first appeared in FreeBSD 3.0. AUTHORS
This manual page was written by Nicolas Souchu. BUGS
During boot, the driver first tries to detect a classic ZIP, then a ZIP+. The ZIP+ detection is intrusive and may send erroneous characters to your printer if the drive is not connected to your parallel port. BSD
December 14, 2004 BSD
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy