Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

two questions: reading /proc and GDB

  • 14-06-2012 11:03AM
    #1
    Registered Users, Registered Users 2 Posts: 10,339 ✭✭✭✭


    Is there any way to read/copy the contents of /proc/$pid/ without root access? I dotn want to change it in any way or write anything into a process, I just want to take an image of what a particular process is doing at a point in time.

    aaaand related:

    can GDB be run without being installed on the local system? From a mapped network drive? or from USB storage or a CD ?


Comments

  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    LoLth wrote: »
    Is there any way to read/copy the contents of /proc/$pid/ without root access?

    If you started the application, you should be able to see under /proc/$pid. I can see more or less anything though. I'm using mint (whatever the latest version is, 13 I think). It's an ubuntu derivative.
    LoLth wrote: »
    can GDB be run without being installed on the local system? From a mapped network drive? or from USB storage or a CD ?

    Once it is the right architecture, has permissions (shouldn't be an issue unless there's some UID malarkey), access to the relevant libraries and those libraries are in your LD_LIBRARY_PATH then you should be good to go.


Advertisement