libzypp  15.28.6
zypp::CheckAccessDeleted::ProcInfo Struct Reference

Data about one running process accessing deleted files. More...

#include <CheckAccessDeleted.h>

Public Member Functions

std::string service () const
 Guess if command was started by a systemd service script. More...
 

Public Attributes

std::string pid
 process ID More...
 
std::string ppid
 parent process ID More...
 
std::string puid
 process user ID More...
 
std::string login
 process login name More...
 
std::string command
 process command name More...
 
std::vector< std::string > files
 list of deleted executables or libraries accessed More...
 

Related Functions

(Note that these are not member functions.)

std::ostream & operator<< (std::ostream &str, const CheckAccessDeleted::ProcInfo &obj)
 

Detailed Description

Data about one running process accessing deleted files.

Definition at line 41 of file CheckAccessDeleted.h.

Member Function Documentation

std::string zypp::CheckAccessDeleted::ProcInfo::service ( ) const

Guess if command was started by a systemd service script.

The service name might be used to restart the service.

Warning
This is just a guess.

Definition at line 294 of file CheckAccessDeleted.cc.

Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream &  str,
const CheckAccessDeleted::ProcInfo obj 
)
related

Stream output

Definition at line 329 of file CheckAccessDeleted.cc.

Member Data Documentation

std::string zypp::CheckAccessDeleted::ProcInfo::pid

process ID

Definition at line 43 of file CheckAccessDeleted.h.

std::string zypp::CheckAccessDeleted::ProcInfo::ppid

parent process ID

Definition at line 44 of file CheckAccessDeleted.h.

std::string zypp::CheckAccessDeleted::ProcInfo::puid

process user ID

Definition at line 45 of file CheckAccessDeleted.h.

std::string zypp::CheckAccessDeleted::ProcInfo::login

process login name

Definition at line 46 of file CheckAccessDeleted.h.

std::string zypp::CheckAccessDeleted::ProcInfo::command

process command name

Definition at line 47 of file CheckAccessDeleted.h.

std::vector<std::string> zypp::CheckAccessDeleted::ProcInfo::files

list of deleted executables or libraries accessed

Definition at line 48 of file CheckAccessDeleted.h.


The documentation for this struct was generated from the following files: