Process 如何在Solaris中获取进程调度器历史记录?

Process 如何在Solaris中获取进程调度器历史记录?,process,solaris,scheduler,Process,Solaris,Scheduler,我想知道是否有办法在Solaris操作系统中获取进程调度程序历史记录。输出可能具有以下详细信息 user : user name who invoked the process name : name of the process / command used to invoke the process loc : location or path of the binary pid : process id event: event happened to the process (ini

我想知道是否有办法在Solaris操作系统中获取进程调度程序历史记录。输出可能具有以下详细信息

user : user name who invoked the process
name : name of the process / command used to invoke the process
loc  : location or path of the binary
pid  : process id
event: event happened to the process (init, suspend or end)
time : time the event happend
date : date the event happeed

我很想知道其他操作系统是否也有类似的功能。

您可以使用
dtrace
脚本,利用(
proc::exec success
proc::exit
proc::signal\u handle
)来实现它


您的事件列表看起来可疑,可能至少应该是“
start
suspend
resume
exit

您想要Solaris的审核功能。人工审计和相关实用程序、审计配置等