diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-07 17:15:53 +0100 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2013-11-10 16:48:25 +0100 |
commit | f5ba2dee8d589639de0e0df315322e5b312c45c5 (patch) | |
tree | abe0f4f37dc6f4c89d20050b8620cc267395955f /libthreads | |
parent | 9b02c4454abee568af9ff1d6c9044e9cd757b5aa (diff) |
utils: implement portinfo --search
Implement the --search switch of portinfo. The feature was suggested
in the source code and partly implemented. portinfo --search locates
the target ports (or all ports) in any other process and prints the
port mapping and information about the port in the remote process.
* utils/Makefile: Link portinfo against libps.
* utils/portinfo.c (options): Enable --search option.
(search_for_port): New function.
(search_for_ports): Likewise.
(main): Call search_for_port{,s} as appropiate.
Diffstat (limited to 'libthreads')
0 files changed, 0 insertions, 0 deletions