zypp::CheckAccessDeleted::ProcInfo Struct Reference

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

#include <CheckAccessDeleted.h>

List of all members.

Public Member Functions

std::string service () const
 Guess if command was started by an /etc/init.d/ script.

Public Attributes

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

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 an /etc/init.d/ script.

The name of an /etc/init.d/ script that might be used to restart the command.

Warning:
This is just a guess.

Definition at line 233 of file CheckAccessDeleted.cc.

References command, and WAR.

Referenced by zypp::CheckAccessDeleted::findService().


Friends And Related Function Documentation

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

Stream output

Definition at line 281 of file CheckAccessDeleted.cc.


Member Data Documentation

process ID

Definition at line 43 of file CheckAccessDeleted.h.

Referenced by zypp::CheckAccessDeleted::check(), and zypp::operator<<().

parent process ID

Definition at line 44 of file CheckAccessDeleted.h.

Referenced by zypp::operator<<().

process user ID

Definition at line 45 of file CheckAccessDeleted.h.

Referenced by zypp::operator<<().

process login name

Definition at line 46 of file CheckAccessDeleted.h.

Referenced by zypp::operator<<().

process command name

Definition at line 47 of file CheckAccessDeleted.h.

Referenced by zypp::CheckAccessDeleted::findService(), zypp::operator<<(), and service().

list of deleted executables or libraries accessed

Definition at line 48 of file CheckAccessDeleted.h.

Referenced by zypp::operator<<().


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

doxygen