Skip to content

Instantly share code, notes, and snippets.

@alcir
Created May 14, 2014 09:27
Show Gist options
  • Save alcir/5c97e5261cfed60ec698 to your computer and use it in GitHub Desktop.
Save alcir/5c97e5261cfed60ec698 to your computer and use it in GitHub Desktop.
[root@myserver ~]# ps -ef|grep zoneadm
root 3923 1 0 15:23:20 ? 0:02 zoneadmd -z 17399352-d471-4adc-9997-6bc07dc1e147
root 13706 13185 0 09:18:28 pts/6 0:00 grep zoneadm
root 12926 12921 0 08:24:47 pts/1 0:00 /usr/sbin/zoneadm -u 17399352-d471-4adc-9997-6bc07dc1e147 halt -X
[root@myserver ~]# mdb -k
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc apix scsi_vhci ufs ip hook neti sockfs arp usba stmf_sbd stmf zfs lofs idm sata crypto random cpc logindmux ptm kvm sppp nsmb smbsrv nfs sd mr_sas ipc ]
> ::wchaninfo -v !grep zoneadmd
ffffff53c18574d8 cond 1: ffffff53bea60c40 zoneadmd
ffffff53be9c0e0e cond 1: ffffff53be9c0c20 zoneadmd
fffffffffbcf128c cond 1: ffffff53be9c0140 zoneadmd
> ffffff53c18574d8::rwlock
ADDR OWNER/COUNT FLAGS WAITERS
ffffff53c18574d8 READERS=8192 B001
|
HAS_WAITERS --------+
> ffffff53be9c0e0e::rwlock
ADDR OWNER/COUNT FLAGS WAITERS
ffffff53be9c0e0e - B001
|
HAS_WAITERS --------+
> fffffffffbcf128c::rwlock
ADDR OWNER/COUNT FLAGS WAITERS
fffffffffbcf128c - B001
|
HAS_WAITERS --------+
> ::ps !grep zoneadmd
R 3923 1 3923 3923 0 0x42000000 ffffff53c1857060 zoneadmd
> ffffff53c1857060::thread
ADDR STATE FLG PFLG SFLG PRI EPRI PIL INTR
ffffff53c1857060 run ff53 ffff 0 0 0 0 421220
> ffffff53c1857060::walk thread
0xffffff53be9c0c20
0xffffff53bea60c40
0xffffff53be9c0140
0xffffff53c10b5060
> 0xffffff53be9c0c20::findstack
stack pointer for thread ffffff53be9c0c20: ffffff026b61ec90
[ ffffff026b61ec90 _resume_from_idle+0xf4() ]
ffffff026b61ecc0 swtch+0x141()
ffffff026b61ed50 cv_wait_sig_swap_core+0x1b9()
ffffff026b61ed70 cv_wait_sig_swap+0x17()
ffffff026b61ee00 cv_waituntil_sig+0xbd()
ffffff026b61eeb0 lwp_park+0x15e()
ffffff026b61ef00 syslwp_park+0x63()
ffffff026b61ef10 sys_syscall+0x17a()
> 0xffffff53bea60c40::findstack
stack pointer for thread ffffff53bea60c40: ffffff0268f2fdc0
[ ffffff0268f2fdc0 _resume_from_idle+0xf4() ]
ffffff0268f2fdf0 swtch+0x141()
ffffff0268f2fe60 cv_wait_sig+0x185()
ffffff0268f2fe90 door_unref+0x94()
ffffff0268f2ff00 doorfs+0xe5()
ffffff0268f2ff10 sys_syscall+0x17a()
> 0xffffff53be9c0140::findstack
stack pointer for thread ffffff53be9c0140: ffffff026b665cb0
[ ffffff026b665cb0 _resume_from_idle+0xf4() ]
ffffff026b665ce0 swtch+0x141()
ffffff026b665d50 cv_wait_sig+0x185()
ffffff026b665db0 zone_destroy+0x203()
ffffff026b665f00 zone+0x1e7()
ffffff026b665f10 sys_syscall+0x17a()
> 0xffffff53c10b5060::findstack
stack pointer for thread ffffff53c10b5060: ffffff02690b2d90
[ ffffff02690b2d90 _resume_from_idle+0xf4() ]
ffffff02690b2dc0 swtch+0x141()
ffffff02690b2df0 shuttle_swtch+0x203()
ffffff02690b2e90 door_return+0x214()
ffffff02690b2f00 doorfs+0x16e()
ffffff02690b2f10 sys_syscall+0x17a()
>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment