Sponsored Content
Full Discussion: Assigning PID for a Process
Operating Systems AIX Assigning PID for a Process Post 302632109 by Scrutinizer on Sunday 29th of April 2012 05:54:36 AM
Old 04-29-2012
I don't think there is. What do you need it for?
 

10 More Discussions You Might Find Interesting

1. Programming

get process name from pid - getcommandline

All, I have a requirement to get the process name of the newly execv'd process. After getting the complete process name, I need to carry out further operations on that. Problem so far is how do I retrieve the name of the process ? There is an API in windows called GetCommandLine. I... (2 Replies)
Discussion started by: vino
2 Replies

2. Shell Programming and Scripting

Process PID

Hi Friends :p I have a little problem please help me out. I have a Unix based OS Sun Server having oracle 8i as database on it. The server has one client with windows OS. The client uses developer 2000 (GUI) to run query and run processes. I want to know how can I know the PID of a process run... (3 Replies)
Discussion started by: vanand420
3 Replies

3. Solaris

getting pid of process

hi all, Is there a simple script anyone could through out to me, to find the pid of a process given the name. I actually need to bind this pid to a processor set. I would probably put these comamns in a shell script which would have. a) kick start the executable b) get the pid c) bind it to a... (10 Replies)
Discussion started by: Naanu
10 Replies

4. UNIX for Dummies Questions & Answers

Need to get pid of a process and have to store the pid in a variable

Hi, I need to get the pid of a process and have to store the pid in a variable and i want to use this value(pid) of the variable for some process. Please can anyone tell me how to get the pid of a process and store it in a variable. please help me on this. Thanks in advance, Amudha (7 Replies)
Discussion started by: samudha
7 Replies

5. Shell Programming and Scripting

Get an PID of particular process

Hi I have written a shell script to find and kill the particular process. Here in shell script i have written the code like cnt = $(ps -ef | grep Shree) echo $cnt I am getting the output root 2326 2317 0 14:39:46 pts/1 0:28 Shree -f fdc.fbconf FDCapp.fbapp Here I want to... (2 Replies)
Discussion started by: Shreedhar Naik
2 Replies

6. Shell Programming and Scripting

getting pid from a process

Hi all, i was able to redirect pid of process to a file in the following way ps aux|awk '$11 == "/Applications/ProjectX/DServer" >> /Applications/ProjectX/DServer.pid it works fine but if one folder name caontains space its not working like below ps aux|awk '$11 == "/Applications/Project\... (1 Reply)
Discussion started by: kirankumars
1 Replies

7. Programming

[C] Process pid by name

Hi I use linux OS. I've already written a function that allow me to get the process name by pid. (searching in /proc). Now I'd like to perform the inverse task.I mean get the process pid by its name. I could write a function that search in every folder in /proc for the process name, but i... (2 Replies)
Discussion started by: Dedalus
2 Replies

8. Shell Programming and Scripting

Find PID for a process

I want to kill a process run by a user of another group. How do I do that..? (3 Replies)
Discussion started by: Haimanti
3 Replies

9. Shell Programming and Scripting

Error in finding the PID by grep and assigning to a variable

Hello All, I am facing difficulty in getting the PID value & then assigning it to a variable, kindly help me in resolving the issue. Thanks a lot in advance. The custom utility used inside the Test2.sh will process the file in a batch of 10 lines at once and for efficient memory management,... (3 Replies)
Discussion started by: duddukuri
3 Replies

10. AIX

How to get process name from PID?

HI, i used ps -ef | grep 3539052 | grep -v grep and i got a output like ths root 3539052 3407918 0 May 07 - 709:31 /usr/sbin/syslogd but what i need is instead of full path /usr/sbin/syslogd i want only the process name that is 'syslogd' here. (3 Replies)
Discussion started by: sumanthupar
3 Replies
POTOOL(1)						      General Commands Manual							 POTOOL(1)

NAME
potool - program for manipulating gettext po files SYNOPSIS
potool FILENAME1 [ FILENAME2 ] [-f f|nf|t|nt|nth|o|no] [-n ctxt|id|str|cmt|ucmt|pcmt|scmt|dcmt|tr|linf]... [-s] [-c] potool -h DESCRIPTION
potool works in two (so far) modes. The first mode requires providing one file name, and works as a filter. In the second mode, the program replaces the translations in FILENAME1 with the translations from FILENAME2. (So FILENAME1 is the base po file, while FILENAME2 is our working copy.) OPTIONS
-f filter Determines which po file entries should be retained. In the second mode, the filters are applied only to FILENAME2 (the working copy). Existing filters are: t - translated entries nt - untranslated entries nth - untranslated entries and the header f - fuzzy entries nf - entries that are not fuzzy o - obsolete entries no - non-obsolete entries It is possible to stack filters, by specifying multiple -f options. -n filter Determines which po file entries parts should not be retained. Any number of -n options is allowed. Valid parameters are: ctxt - don't write 'ctxt' parts id - don't write 'id' parts str - don't write 'str' parts tr - don't write translations ucmt - don't write user's comments pcmt - don't write the comments regarding position in source files scmt - don't write special comments ('#, fuzzy, c-format, ...') dcmt - don't write reserved comments (usually starting with a dot) cmt - don't write any comments linf - change source line numbers to '1'. The last parameter is useful when you need to compare two po or pot files using diff(1) as it usually returns lots of unimportant line number changes otherwise. -s Don't display the entries themselves, only their count. -c Overwrite all msgstrs with their msgids. -h Display short usage help. EXAMPLES
potool x.po -s -ft displays the number of translated entries. See also postats(1). potool x.po -nstr Deletes all translations - so you can start from scratch! :-) potool x.po -ft && potool x.po -fnt displays firstly the translated and then the non-translated entries from file x.po (reverse order is not recommended because of the first "header" entry). The output contains all information from x.po, with the difference that untranslated entries are located together in a single place. potool x.po -fnt > tmp.po && editor tmp.po && potool x.po tmp.po lets you easily add new translations, without looking at the already translated entries The last two examples are implemented as the potooledit(1) program. SEE ALSO
potooledit(1), postats(1), msgmerge(1), msgfmt(1). AUTHOR
Potool was written by Zbigniew Chyla and is now being maintained by Marcin Owsiany <porridge@debian.org>. September 21, 2007 POTOOL(1)
All times are GMT -4. The time now is 06:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy