libzypp  17.5.0
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 49 of file CheckAccessDeleted.h.

Member Function Documentation

◆ service()

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 432 of file CheckAccessDeleted.cc.

Friends And Related Function Documentation

◆ operator<<()

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

Stream output

Definition at line 467 of file CheckAccessDeleted.cc.

Member Data Documentation

◆ pid

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

process ID

Definition at line 51 of file CheckAccessDeleted.h.

◆ ppid

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

parent process ID

Definition at line 52 of file CheckAccessDeleted.h.

◆ puid

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

process user ID

Definition at line 53 of file CheckAccessDeleted.h.

◆ login

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

process login name

Definition at line 54 of file CheckAccessDeleted.h.

◆ command

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

process command name

Definition at line 55 of file CheckAccessDeleted.h.

◆ files

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

list of deleted executables or libraries accessed

Definition at line 56 of file CheckAccessDeleted.h.


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