cimprovider(1)
π cimprovider(1) π
okay so bestie, welcome to cimprovider(1), the little command that handles all your CIM provider drama β disabling, enabling, removing, grouping, listing, and status-checking registered CIM providers and CIM provider modules. it's giving sysadmin main character energy, and you're about to ate. β¨
πΈ NAME πΈ
cimprovider β disable, enable, remove, group, list, or display status of registered CIM providers or CIM provider modules π«Ά
β¨ SYNOPSIS β¨
cimprovider -d -m module
cimprovider -e -m module
cimprovider -r -m module [ -p provider ]
cimprovider -g group -m module
cimprovider -l [ -s | -f | -m module ]
cimprovider -h
cimprovider --help
cimprovider --version
π Remarks π
- the
-loption can be run by any user(s) β literally anyone, no gatekeeping π - every other option needs superuser permissions, no cap π
- this command disables, enables, or removes one CIM provider module or CIM provider at a time β one at a time, bestie, we're not doing multitasking here π
π¦ DESCRIPTION π¦
so cimprovider is basically a command line interface (CLI) that lets you disable, enable, unregister, group, and list registered CIM providers. here's the vibe breakdown:
- if a CIM provider is disabled, the CIM Server rejects any requests to the provider. blocked. blocked. blocked. π
- if a CIM provider is enabled, the CIM Server forwards requests to the provider. slay, it's working β¨
- if a CIM provider is unregistered, the CIM Server will no longer have any information about the provider. it's gone, it's deleted from the group chat π
to use cimprovider, cimserver has to be running, and the specified provider module (which is a grouping of providers in the same shared library, iykyk) or provider has to be registered with WBEM Services. no registration, no service π«Ά
the first form of cimprovider disables the specified provider module. when a provider module is in the disabled state, any new requests to the providers inside that module get rejected. sorry babes.
the second form enables the providers contained in the specified provider module. they're now ready to accept new requests. their comeback era π
the third form removes (un-registers) the specified provider module and all of its contained providers, or just the specified provider inside the specified provider module. once removed, a provider or provider module must be re-registered β typically by loading its registration schema via the cimmof command. you gotta re-add them yourself, no autopilot π
the fourth form sets the provider module group. if the provider module is active, it gets disabled first, the group is set, and then it's enabled again. if the group name is CIMServer, the provider module is loaded into the CIMServer process depending on the UserContext value. specify an empty string to remove from grouping.
the last form lists all the registered provider modules and module status, or all the providers in the specified provider module. and pro tip: to list all providers in all modules, issue a cimprovider -l command, followed by cimprovider -l -m for each listed module. yes, for each one. one by one. we love a lil loop energy π
β provider module status values β
these are the moods your provider module can be in:
OKβ the provider module is enabled. thriving. πStoppingβ the provider module is in the process of being disabled. mid-transition, don't perceive it πStoppedβ the provider module is disabled. resting era.Degradedβ a failure was detected in an out-of-process provider module. disable and re-enable the provider module to ensure any active indication subscriptions are being served. it needs a lil reset bestie πErrorβ an invalid registration instance was encountered upon CIM Server initialization. not iconic. π
specifying no options with the cimprovider command displays the command usage. so if you just type it and hit enter, it'll tell you how to use it. helpful queen π
π Options π
the cimprovider command recognizes the following options:
-dβ disables the specified CIM provider module. if user(s) try to disable a module that is already disabled, an error message is returned and no action is taken. π-eβ enables the specified CIM provider module. if user(s) try to enable a module that's already enabled, or try to enable a module that's disabling, an error message is returned and no action is taken. π-h,--helpβ display command usage information. the "help me bestie" button π«Ά-lβ displays all the registered provider modules.-mmoduleβ specifies the provider module for the operation.-pproviderβ specifies the provider for the operation.-rβ removes the specified provider module and all of its contained providers. ifprovideris specified, removes the specified provider in the specified provider module, not affecting any other providers in that module. surgical. precise. π-gβ sets the CIM provider module group. specify an empty string to remove from grouping. if the provider module is active, the provider module is disabled first, the group is set, and it's enabled again. all provider modules with the same group name are loaded into a single agent process β except when overridden by specific UserContext values. if the group name isCIMServer, the provider module is loaded into the CIMServer process depending on the UserContext value. family reunion energy π-sβ displays the status of provider modules.-fβ displays the full status of provider modules with group name.--versionβ display CIM Server version number. π
π EXIT STATUS π
when an error occurs, an error message is written to stderr and an error value 1 is returned. the following return values are returned:
0β successful completion β¨1β error π
π§ USAGE NOTES π§
cimprovider requires that the CIM Server is running. and if an operation takes more than two minutes to be processed, the cimprovider command prints a timeout message and returns an error value. patience is a virtue but two minutes is the limit bestie β³
π₯ EXAMPLES π₯
disable provider module "OperatingSystemProvider" and all of its contained providers (placing them in a stopped state):
cimprovider -d -m OperatingSystemProvider
enable provider module "OperatingSystemProvider" and all of its contained providers (placing them in an OK state):
cimprovider -e -m OperatingSystemProvider
remove (un-register) the "OperatingSystemProvider" provider module and all of its contained providers:
cimprovider -r -m OperatingSystemProvider
remove (un-register) the "PG_OperatingSystemProvider" provider that is contained in the "OperatingSystemProvider" provider module:
cimprovider -r -m OperatingSystemProvider -p PG_OperatingSystemProvider
list the registered provider modules:
cimprovider -l
list the registered provider modules and their status (such as OK, Stopping, Stopped):
cimprovider -l -s
list the registered providers which are contained in the "OperatingSystemProvider" provider module:
cimprovider -l -m OperatingSystemProvider
set the group name of the "OperatingSystemProvider" provider module to "CIMServer":
cimprovider -g CIMServer -m OperatingSystemProvider
remove "OperatingSystemProvider" provider module from grouping:
cimprovider -g "" -m OperatingSystemProvider
π SEE ALSO π
cimmof(1), cimserver(1).
okay that's the whole thing bestie, you're officially a cimprovider girlie now π
and that's a wrap on cimprovider(1) β you found it in the cimprovider(1) manual, and honestly? iconic. go forth and manage those providers. no cap. πβ¨π
π¦ where this page comes from
- centos-stream 10: tog-pegasus 2:2.14.1-79.el10 Β· MIT
- centos-stream 9: tog-pegasus 2:2.14.1-68.el9 Β· MIT
- fedora 43: tog-pegasus 2:2.14.1-86.fc43 Β· MIT
- fedora 44: tog-pegasus 2:2.14.1-89.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms