12 #ifndef ZYPP_MISC_CHECKACCESSDELETED_H
13 #define ZYPP_MISC_CHECKACCESSDELETED_H
69 {
if ( doCheck_r )
check(); }
97 static std::string
findService(
const char * command_r );
99 static std::string
findService(
const std::string & command_r );
101 static std::string
findService(
const Pathname & command_r );
119 #endif // ZYPP_MISC_CHECKACCESSDELETED_H
Data about one running process accessing deleted files.
std::vector< ProcInfo > _data
std::string service() const
Guess if command was started by an /etc/init.d/ script.
std::string command
process command name
size_type check(bool verbose_r=false)
Check for running processes which access deleted executables or libraries.
std::string pid
process ID
std::ostream & operator<<(std::ostream &str, const Exception &obj)
std::string puid
process user ID
Check for running processes which access deleted executables or libraries.
const_iterator end() const
CheckAccessDeleted(bool doCheck_r=true)
Default ctor performs check immediately.
const_iterator begin() const
std::vector< ProcInfo >::const_iterator const_iterator
std::string login
process login name
static std::string findService(const char *command_r)
Guess if command was started by an /etc/init.d/ script.
std::vector< std::string > files
list of deleted executables or libraries accessed
std::string ppid
parent process ID