Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Running the pmap command on a process in Solaris, I see certain processes have blocks of memory with tags like the following:

dev:337,2 ino=2433431

What do the dev and ino represent? My assumption is device and inode, but that is just a guess. Is there a way to reverse-debug what this memory is?

share|improve this question
up vote 2 down vote accepted

These are probably /var/run mmaped files. I just checked and found for example /var/run/tzsync being mmaped by many processes. That particular file allows timezone patches not to require a reboot to be effective.

share|improve this answer
    
How did you determine which file was being mmaped? Is there a way to do a reverse look-up with the device number and inode number? I tried 'find / -inum <ino>', but didn't have any luck. – heavydutydev Dec 6 '11 at 16:31
    
The tzsync file was reported by pmap, pfiles and find -inum. The latter should find it at least under /proc/<pid>/fd. – jlliagre Dec 7 '11 at 2:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .