How to tell which version of a application is running

Chris cpollock at embarqmail.com
Mon Apr 17 12:55:03 UTC 2017


On Sun, 2017-04-16 at 15:04 +0200, Xen wrote:
> Chris schreef op 16-04-2017 14:23:
> 
> > 
> > Question is, which version of tracker is running? Is it 1.6.2
> > located
> > in 
> Also as a more direct answer to your question, if the binary is 
> currently active (it shows up in ps aux) then
> 
> you could do
> 
> ps ax -o cmd | grep [t]racker
> 
> to find the command-line of the binary (the full path).
> 
> or
> 
> cat /proc/$(pgrep tracker | head -1)/cmdline; echo
> 
> for something more convoluted ;-).
> 
First I apologize for not sending any replies yesterday. I have
'issues' from the time I was in the Army and just couldn't do it. That
said, Xen, I've tried both of the commands you noted above, actually
did a C/P into terminal and get:

chris at localhost:~$ ps ax -o cmd | grep [t]racker (no output from this
at all)

chris at localhost:~$ cat /proc/$(pgrep tracker | head -1)/cmdline; echo
BOOT_IMAGE=/boot/vmlinuz-4.4.0-72-generic root=UUID=4254a7e9-429b-4f53-
a08c-ae7ff839b98f ro

This one just gives me information on the kernel I currently have
installed.

I'll move on to see what other posts there are. I see quite a few

Chris

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11972; -97.90167 (Elev. 1092 ft)
07:46:32 up 17:34, 3 users, load average: 0.57, 0.63, 0.44
Description:	Ubuntu 16.04.2 LTS, kernel 4.4.0-72-generic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20170417/be560e63/attachment.sig>


More information about the ubuntu-users mailing list