12 #ifndef ZYPP_MISC_CHECKACCESSDELETED_H
13 #define ZYPP_MISC_CHECKACCESSDELETED_H
68 {
if ( doCheck_r )
check(); }
111 #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 a systemd service 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
std::vector< std::string > files
list of deleted executables or libraries accessed
std::string ppid
parent process ID
static std::string findService(pid_t pid_r)
Guess if pid was started by a systemd service script.