Front end for querying the NCM profile configuration
Basic usages:
ncm-query --component <component>
ncm-query /some/path
ncm-query --list
Node Configuration Manager CLI for Querying Profile
Home Page: www.quattor.org
License: Other
Removing the restriction causes an exception when trying to open a file:
Uncaught exception!!! Calling stack is:
LC::Exception::throw_error called at /opt/edg/lib/perl/EDG/WP4/CCM/Configuration.pm line 141
EDG::WP4::CCM::Configuration::_create_pid_file called at /opt/edg/lib/perl/EDG/WP4/CCM/Configuration.pm line 105
EDG::WP4::CCM::Configuration::new called at /opt/edg/lib/perl/EDG/WP4/CCM/CacheManager.pm line 221
EDG::WP4::CCM::CacheManager::_getConfig called at /opt/edg/lib/perl/EDG/WP4/CCM/CacheManager.pm line 165
EDG::WP4::CCM::CacheManager::getUnlockedConfiguration called at bin/ncm-query line 231
query::setCCMConfig called at bin/ncm-query line 409
*** _touch_file(/var/lib/ccm/profile.33/ccm-active-profile.33-13892): open (/var/lib/ccm/profile.33/ccm-active-profile.33-13892): Permission denied
Uncaught exception!!! Calling stack is:
LC::Exception::throw_error called at bin/ncm-query line 233
query::setCCMConfig called at bin/ncm-query line 409
*** cannot get configuration via CCM
See quattor/CCM#38 - ncm-query uses Cachemanager::getUnlockedConfiguration() but @stdweird says that an UnlockedConfiguration always gives the latest CID. Therefore if CID is not undef then it must use a LockedConfiguration?
Sometimes it is necessary for programs to run ncm-query
directly to lookup information in the current host profile. Unfortunately, the output of ncm-query
is not so easy for a computer to parse.
The contents of a host profile are easy to get hold of from within an NCM component, but problematic when running a tool that is not an NCM component.
I suggest there are multiple ways of tackling this, and we might provide all of them:
ncm-query --format native
that outputs the profile, or portions of the profile, in whatever the native format is (XML or JSON, depending on what is being used).ncm-query --format json
that outputs the profile, or portions thereof, in JSON.ncm-query --format xml
for XML format.ncm-query --format yaml
for YAML format.Configure
subroutine in an NCM component (this isn't an ncm-query
issue, but I thought I'd put it here to keep things all together for discussion at first).A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.