Sponsored Content
Operating Systems Solaris OS functions for process list Post 302113724 by jalburger on Monday 9th of April 2007 03:39:14 PM
Old 04-09-2007
OS functions for process list

I'm currently fixing a bug in a C program in which I need to check to make sure another specific application is up and running before continuing.

Are there any SunOS API functions that can provide me with a list of currently running processes on the system? I'd like to avoid using 'ps' with a system() call.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

list windows process

Hello Community, I've got a unix server and 13 pcs with windows. I'm trying to built some tiny winy app to monitorize the windows processes. Any one knows if exist some kind of pstools for unix to communicate with windows. I'm the system administartor so I've got rights in all computers. ... (3 Replies)
Discussion started by: ncatdesigner
3 Replies

2. UNIX for Advanced & Expert Users

List Process with their Status.

Hi all, How can I get the list of all the processes that are either Orphan or Zombie or Running or Ended or Stopped ? Please suggest !! Thanks. Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies

3. AIX

Is there a way to list all the functions dotted in to the env?

Hi People, Please advise if there is a command to retrieve the list of functions (user-defined) available at any certain point? Cheers (1 Reply)
Discussion started by: easwam
1 Replies

4. UNIX for Dummies Questions & Answers

Process list

Hi, How to list the processes which are created in last 7 days ? Is there any script or command, please reply ASAP. Thanks Rajesh (2 Replies)
Discussion started by: rajesh08
2 Replies

5. Shell Programming and Scripting

Get the List of functions with modified parameters

Hi I have 2 files a.c and a.bak where I changed long to int using awk script. I want to get the list of functions whose parameters got modified for eg: fun ( long a, long b ) might be changed to fun ( int a, int b ) (1 Reply)
Discussion started by: Sivaswami
1 Replies

6. UNIX for Dummies Questions & Answers

process list

i read in ps manual that -C cmdlist will just result to processes stated in the cmdlist. i intend to issue this command ps c -FC "firefox-bin, soffice.bin" here cmdlist contains two executables only. in the future, this cmdlist will grow. is there a way i can make ps read a csv file as... (2 Replies)
Discussion started by: mbaste2
2 Replies

7. Shell Programming and Scripting

list which process using how many cpu

i want to list which process using how many cpu ,but i must be list cpu rate and process name,not only PID how can i do? (5 Replies)
Discussion started by: utoptas
5 Replies

8. Shell Programming and Scripting

List of process of user

Hi, I need an output of process running on server, i am executing ps -ef | grep test output is asak 22362 1 0 Nov07 ? 00:00:03 /usr/software/bin/perl-5.8.8 /u/assk/bin/test -v none JOBID=2012117 asak 23748 22362 0 Nov07 ? 00:00:00 /usr/software/bin/perl-5.8.8... (3 Replies)
Discussion started by: asak
3 Replies

9. Shell Programming and Scripting

How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then... (8 Replies)
Discussion started by: saku
8 Replies

10. Shell Programming and Scripting

How to list process name only?

Hi team, Anyone help me cut a process name from ps -ef output? lit-dbrac01-b004: $ ps -ef|grep pmon|cut -f5 ... oracle 448 1 0 2014 ? 00:04:15 ora_pmon_blms50db2 Like I need just the process name: ora_pmon_blms50db2 Any ideas? Thanks in advance. jd (3 Replies)
Discussion started by: jonnyd
3 Replies
apport-bug(1)						      General Commands Manual						     apport-bug(1)

NAME
apport-bug, apport-collect - file a bug report using Apport, or update an existing report SYNOPSIS
apport-bug apport-bug symptom | pid | package | program path | .apport/.crash file apport-collect report-number DESCRIPTION
apport-bug reports problems to your distribution's bug tracking system, using Apport to collect a lot of local information about your sys- tem to help the developers to fix the problem and avoid unnecessary question/answer turnarounds. You should always start with running apport-bug without arguments, which will present a list of known symptoms. This will generate the most useful bug reports. If there is no matching symptom, you need to determine the affected program or package yourself. You can provide a package name or program name to apport-bug, e. g.: apport-bug firefox apport-bug /usr/bin/unzip In order to add more information to the bug report that could help the developers to fix the problem, you can also specify a process ID instead: $ pidof gnome-terminal 5139 $ apport-bug 5139 As a special case, to report a bug against the Linux kernel, you do not need to use the full package name (such as linux- image-2.6.28-4-generic); you can just use apport-bug linux to report a bug against the currently running kernel. Finally, you can use this program to report a previously stored crash or bug report: apport-bug /var/crash/_bin_bash.1000.crash apport-bug /tmp/apport.firefox.332G9t.apport Bug reports can be written to a file by using the --save option or by using apport-cli. apport-bug detects whether KDE or Gnome is running and calls apport-gtk or apport-kde accordingly. If neither is available, or the session does not run under X11, it calls apport-cli for a command-line client. UPDATING EXISTING REPORTS
apport-collect collects the same information as apport-bug, but adds it to an already reported problem you have submitted. This is useful if the report was not originally filed through Apport, and the developers ask you to attach information from your system. OPTIONS
Please see the apport-cli(1) manpage for possible options. ENVIRONMENT
APPORT_IGNORE_OBSOLETE_PACKAGES Apport refuses to create bug reports if the package or any dependency is not current. If this environment variable is set, this check is waived. Experts who will thoroughly check the situation before filing a bug report can define this in their ~/.bashrc or temporarily on the command line when calling apport-bug. SEE ALSO
apport-cli(1) AUTHOR
apport and the accompanying tools are developed by Martin Pitt <martin.pitt@ubuntu.com>. Martin Pitt September 08, 2009 apport-bug(1)
All times are GMT -4. The time now is 10:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy