Ocsinve...::Common(3)

πŸ“¦
version 2.10.5 Β· 5 versions
, in epel 9

🌸 NAME 🌸

okay so this manual page is Ocsinve...::Common(3) from the User Contributed Perl Documentation, and the module is Ocsinventory::Agent::Common β€” its whole vibe is to give common methods to other modules 🫢. Think of it as the group-chat helper that hands inventory-building methods to all the other modules.

Here’s every method in the exact order the page lists them, bestie β€” no skips, no β€œI’ll summarize later,” we’re doing all of them πŸ’…βœ¨.

  • addController() β€” Add a controller in the inventory.
  • addUsb() β€” Add external usb devices in the inventory.
  • addInput() β€” Add internal inputs as keyboard, mouse in the inventory.
  • addModem() β€” Add a modem in the inventory.
  • addDrive() β€” Add a partition in the inventory.
  • addStorages() β€” Add a storage system (hard drive, USB key, SAN volume, etc) in the inventory.
  • addMemory() β€” Add a memory module in the inventory.
  • addPort() β€” Add a port module in the inventory.
  • addSlot() β€” Add a slot in the inventory.
  • addSoftware() β€” Register a software in the inventory.
  • addMonitor() β€” Add a monitor (screen) in the inventory.
  • addVideo() β€” Add a video card in the inventory.
  • addSound() β€” Add a sound card in the inventory.
  • addNetwork() β€” Register a network in the inventory.
  • addRepo() β€” Register a repository in the inventory.
  • setHardware() β€” Save global information regarding the machine. The use of setHardware() to update USERID and PROCESSOR* information is deprecated, please, use addUser() and addCPU() instead. 🚨 like, actually deprecated, so don’t be out here using it for those updates.
  • setBios() β€” Set BIOS information.
  • addCPU() β€” Add a CPU in the inventory.
  • addUser() β€” Add an user in the list of logged user.
  • addLocalUser() β€” Add local users in the inventory.
  • addLocalGroup() β€” Add local groups in the inventory.
  • addPrinter() β€” Add a printer in the inventory.
  • addVirtualMachine() β€” Add a Virtual Machine in the inventory.
  • addProcess() β€” Record a running process in the inventory.
  • addCamera() β€” Add a camera device in the inventory. Only avalaible for MacOSX β€” yes, spelling exactly as the page has it, bestie πŸ’€.
  • addIpDiscoverEntry() β€” IpDiscover is used to identify network interface on the local network. This is done on the ARP level. This function adds a network interface in the inventory. πŸ›°οΈ
  • setAccessLog() β€” the description is literally β€œWhat is that for? :)” β€” iconic, honestly.
  • flushXMLTags() β€” Clear the content of $common->{xmltags} (to use after adding it in XML).
  • addBatteries() β€” Add a memory module in the inventory. (yes, that’s exactly the line 🫢)

okay that’s the whole page, no cap! cute little footer sign-off: this is perl v5.32.1, dated 2026-06-05, on Ocsinve...::Common(3) β€” byeee bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from