/openbmc/phosphor-pid-control/test/ |
H A D | meson.build | 47 'pid_json_unittest': ['../pid/buildjson.cpp', '../util.cpp'], 49 '../pid/ec/pid.cpp', 50 '../pid/ec/logging.cpp', 51 '../pid/fancontroller.cpp', 52 '../pid/pidcontroller.cpp', 53 '../pid/tuning.cpp', 54 '../pid/util.cpp', 57 '../pid/ec/stepwise.cpp', 58 '../pid/stepwisecontroller.cpp', 59 '../pid/tuning.cpp', [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 228.out | 3 …ts": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-na… 6 bs->filename: TEST_DIR/PID-top.img 7 bs->backing_file: file:TEST_DIR/PID-base.img 8 bs->backing->bs->filename: TEST_DIR/PID-base.img 15 …ts": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DIR/PID-top.img"}, "node-na… 20 …: "file", "filename": "TEST_DIR/PID-base.img"}}, "driver": "IMGFMT", "file": {"driver": "file", "f… 22 bs->backing->bs->filename: TEST_DIR/PID-base.img 24 {"execute": "change-backing-file", "arguments": {"backing-file": "TEST_DIR/PID-base.img", "device":… 27 bs->filename: TEST_DIR/PID-top.img 28 bs->backing_file: TEST_DIR/PID-base.img [all …]
|
H A D | 224.out | 4 …PID-base.img"}, "node-name": "base"}, "driver": "IMGFMT", "file": {"driver": "file", "filename": "… 6 …PID-base.img\"}}", "device": "top", "job-id": "commit", "speed": 1, "top": "json:{\"backing\": {\"… 13 …PID-base.img"}, "node-name": "base"}, "driver": "IMGFMT", "file": {"driver": "file", "filename": "… 15 …PID-base.img\"}}", "device": "top", "filter-node-name": "filter_node", "job-id": "commit", "speed"…
|
/openbmc/phosphor-pid-control/ |
H A D | tuning.md | 1 # PID Control Tuning & Logging 3 The openBMC PID control daemon, swampd (phosphor-pid-control) requires the user 4 to specify the sensors and PID coefficients. Determining good coefficients is 10 ## Tuning Fan PID Using a Fixed RPM Setpoint 18 ## Tuning Fan PID Control Parameters 20 `phosphor-pid-control` reads PID control values from 21 `/usr/share/swampd/config.json`, one can modify the PID parameters in the config 25 systemctl restart phosphor-pid-control.service 37 `phosphor-pid-control` will create a log for each PID control zone. 42 daemon to log the computations made during the core of the PID loop. [all …]
|
H A D | meson.build | 2 'phosphor-pid-control', 63 input: 'phosphor-pid-control.service.in', 64 output: 'phosphor-pid-control.service', 102 'pid', 131 'pid/ec/pid.cpp', 132 'pid/ec/logging.cpp', 133 'pid/ec/stepwise.cpp', 134 'pid/fancontroller.cpp', 135 'pid/thermalcontroller.cpp', 136 'pid/pidcontroller.cpp', [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/vblade/files/ |
H A D | vblade.init | 25 PID_FILE=/var/run/$prog/${ID}.pid 27 pid=$! 29 echo $pid > $PID_FILE 30 echo -n $"$4 (e$2.$3@$1) [pid $pid]" 72 for pidfile in `ls /var/run/$prog/*.pid 2>/dev/null` 84 local pid_file=${2:-/var/run/$base.pid} 86 pid= 94 [ -z "${p//[0-9]/}" -a -d "/proc/$p" ] && pid="$pid $p" 98 if [ -n "$pid" ]; then 101 return 1 # "Program is dead and /var/run pid file exists" [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ui/ |
H A D | uihelper.py | 25 def removetid(pid, tid): argument 28 if self.pidmap[pid] == tid: 29 del self.pidmap[pid] 35 …s:%s %s" % (event._mc, event._package, event._task), 'starttime' : time.time(), 'pid' : event.pid } 37 …{ 'title' : "%s %s" % (event._package, event._task), 'starttime' : time.time(), 'pid' : event.pid } 39 self.pidmap[event.pid] = tid 43 removetid(event.pid, tid) 46 removetid(event.pid, tid) 50 removetid(event.pid, tid) 59 if event.pid > 0 and event.pid in self.pidmap: [all …]
|
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ |
H A D | journalpid | 4 # @brief: Collect user initialized PID specific journal log information. 9 desc="Journal pid:$pid log" 11 if [ $pid -eq $ZERO ]; then 12 log_warning "Missing PID, Collecting last 500 journal entries" 16 file_name="journal-pid-$pid.log" 17 command="journalctl --namespace=* -o verbose _PID=$pid"
|
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/json-schema/ |
H A D | OpenBMCManager.v1_0_0.json | 58 "description": "Current OpenBMC pid controllers.", 59 "longDescription": "Current OpenBMC pid controllers." 102 "description": "Feed forward gain coefficient for the PID.", 103 "longDescription": "Feed forward gain coefficient for the PID.", 108 "description": "Feed forward offset coefficient for the PID.", 109 "longDescription": "Feed forward offset coefficient for the PID.", 114 "description": "Integral Coefficient for the PID.", 115 "longDescription": "Integral Coefficient for the PID.", 120 "description": "Integral limit maximum for the PID.", 121 "longDescription": "Integral limit maximum for the PID.", [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libusbgx/libusbgx/ |
H A D | usbgx.initd | 22 PIDFILE=/var/run/$NAME.pid 36 local status pid 39 pid=`pidofproc $NAME` || status=$? 42 echo "$DESC already running ($pid)." 58 local pid status 61 pid=`pidofproc $NAME` || status=$? 65 kill -s 15 $pid >/dev/null && rm -f $PIDFILE && \ 66 echo "Stopped $DESC ($pid)." || exit $? 80 local pid status 86 pid=`pidofproc $NAME` || status=$? [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/snort/snort/ |
H A D | snort.init | 12 PID=/var/run/snort_${LAN_INTERFACE}_ids.pid 13 DEL_PID=$PID 52 # -R <id> Include 'id' in snort_intf<id>.pid file name 61 if [ -s $PID ]; then 62 /bin/echo "Stopping $PROG with PID `cat $PID`: " 63 kill -TERM `cat $PID` 2>/dev/null 69 /bin/echo "ERROR: PID in $PID file not found." 77 if [ -s $PID ]; then 78 echo "$PROG is running as pid `cat $PID`:"
|
/openbmc/qemu/io/ |
H A D | channel-command.c | 34 * @pid: the PID/HANDLE of the running child command 38 * previously spawned command identified by @pid. 44 * @pid and will kill it when closing the channel. 53 GPid pid) in qio_channel_command_new_pid() argument 61 ioc->pid = pid; in qio_channel_command_new_pid() 65 GetProcessId(pid) in qio_channel_command_new_pid() 67 pid in qio_channel_command_new_pid() 79 GPid pid = 0; in qio_channel_command_new_spawn() local 87 &pid, in qio_channel_command_new_spawn() 95 return qio_channel_command_new_pid(stdinfd, stdoutfd, pid); in qio_channel_command_new_spawn() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/dnf/dnf/ |
H A D | 0001-lock.py-fix-Exception-handling.patch | 7 like "Permission denied: '/var/log/log_lock.pid'", and in this case, 9 handled, it maybe cause log_lock.pid not be deleted in case like [1]. 14 Exception happend, for the threads that do chroot, log_lock.pid will be 15 created under installroot/var/log/log_lock.pid, since variable count not 16 handled correct before, log_lock.pid may not be deleted correctly. 38 - pid = self._try_lock(my_pid) 40 + pid = self._try_lock(my_pid) 44 while pid != my_pid: 45 if pid != -1: 49 prev_pid = pid [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd/ |
H A D | gpsd.init | 26 PIDFILE=/var/run/$NAME.pid 50 local status pid 53 pid=`pidofproc $NAME` || status=$? 56 echo "$DESC already running ($pid)." 72 local pid status 75 pid=`pidofproc $NAME` || status=$? 79 kill -s 15 $pid >/dev/null && rm -f $PIDFILE && \ 80 echo "Stopped $DESC ($pid)." || exit $? 94 local pid status 100 pid=`pidofproc $NAME` || status=$? [all …]
|
/openbmc/u-boot/include/spmi/ |
H A D | spmi.h | 10 * @read: read register 'reg' of slave 'usid' and peripheral 'pid' 11 * @write: write register 'reg' of slave 'usid' and peripheral 'pid' 17 int (*read)(struct udevice *dev, int usid, int pid, int reg); 18 int (*write)(struct udevice *dev, int usid, int pid, int reg, 27 * @pid Peripheral ID 31 int spmi_reg_read(struct udevice *dev, int usid, int pid, int reg); 38 * @pid Peripheral ID 43 int spmi_reg_write(struct udevice *dev, int usid, int pid, int reg,
|
/openbmc/openbmc/poky/meta/recipes-devtools/unfs3/unfs3/ |
H A D | 0001-daemon.c-Fix-race-window-for-writing-of-the-pid-file.patch | 4 Subject: [PATCH] daemon.c: Fix race window for writing of the pid file 6 The parent process should write the pid file such that the pid file 11 without having to add sleep calls to wait for the pid file be written 27 * write current pid to a file 30 +static void create_pid_file(int pid) 39 + sprintf(buf, "%i\n", pid); 47 + if (pid) 48 + create_pid_file(pid); 59 /* create pid file if wanted */
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/ |
H A D | urls.py | 103 url(r'^project/(?P<pid>\d+)/$', views.project, name='project'), 104 url(r'^project/(?P<pid>\d+)/configuration$', views.projectconf, name='projectconf'), 105 url(r'^project/(?P<pid>\d+)/builds/$', 109 …url(r'^newproject_specific/(?P<pid>\d+)/$', views.newproject_specific, name='newproject_specific'), 110 url(r'^project_specific/(?P<pid>\d+)/$', views.project_specific, name='project_specific'), 111 url(r'^landing_specific/(?P<pid>\d+)/$', views.landing_specific, name='landing_specific'), 112 …url(r'^landing_specific_cancel/(?P<pid>\d+)/$', views.landing_specific_cancel, name='landing_speci… 115 url(r'^project/(?P<pid>\d+)/importlayer$', views.importlayer, name='importlayer'), 118 url(r'^project/(?P<pid>\d+)/machines/$', 122 url(r'^project/(?P<pid>\d+)/softwarerecipes/$', [all …]
|
/openbmc/openbmc/poky/meta/recipes-extended/sysklogd/sysklogd/ |
H A D | sysklogd | 20 pidfile_syslogd=/var/run/syslogd.pid 68 pid=`cat $pidfile_syslogd` 70 # No pid, probably no daemon present 72 if [ -z "$pid" ] 77 if [ ! -d /proc/$pid ] 82 cmd=`cat /proc/$pid/cmdline | tr "\000" "\n"|head -n 1` 96 pid=$1 97 # Give pid a chance to exit before we restart with a 5s timeout in 1s intervals 98 if [ -z "$pid" ]; then 105 kill -0 $pid 2> /dev/null || break [all …]
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/minidlna/minidlna/ |
H A D | minidlna-daemon.init.d | 6 PIDFILE=/var/run/$NAME.pid 18 echo "$SCRIPTNAME already running with PID #`cat $PIDFILE` ( according to ${PIDFILE} )"; 24 pid=$! 26 if [ "$pid" != "" ]; then 27 echo -n "$pid" > ${PIDFILE} 39 PID=`cat ${PIDFILE}` in stop_function() 40 kill -INT ${PID} in stop_function()
|
/openbmc/bmcweb/redfish-core/schema/oem/openbmc/csdl/ |
H A D | OpenBMCManager_v1.xml | 52 <Annotation Term="OData.Description" String="Current OpenBMC pid controllers."/> 53 <Annotation Term="OData.LongDescription" String="Current OpenBMC pid controllers."/> 85 <Annotation Term="OData.LongDescription" String="Container for OpenBmc pid controllers."/> 126 <Annotation Term="OData.Description" String="Feed forward gain coefficient for the PID."/> 127 … <Annotation Term="OData.LongDescription" String="Feed forward gain coefficient for the PID."/> 131 … <Annotation Term="OData.Description" String="Feed forward offset coefficient for the PID."/> 132 … <Annotation Term="OData.LongDescription" String="Feed forward offset coefficient for the PID."/> 136 <Annotation Term="OData.Description" String="Integral Coefficient for the PID."/> 137 <Annotation Term="OData.LongDescription" String="Integral Coefficient for the PID."/> 141 <Annotation Term="OData.Description" String="Integral limit maximum for the PID."/> [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/initscripts/initscripts-1.0/ |
H A D | functions | 26 # pidofproc - print the pid of a process 31 pid=`pidof $1` 35 echo $pid 54 pid=`pidofproc $1` && kill $pid 58 local pid 63 pid=`pidofproc $1` 64 if [ -n "$pid" ]; then 65 echo "$1 (pid $pid) is running..."
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/ulogd2/ulogd2/ |
H A D | ulogd.init | 35 PIDFILE=/var/run/$NAME.pid 49 local status pid 52 pid=`pidofproc $NAME` || status=$? 55 echo "$DESC already running ($pid)." 75 local pid status 78 pid=`pidofproc $NAME` || status=$? 82 kill -s 15 $pid >/dev/null && rm -f $PIDFILE && \ 83 echo "Stopped $DESC ($pid)." || exit $? 103 local pid status 109 pid=`pidofproc $NAME` || status=$? [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/influxdb/influxdb/ |
H A D | influxdb | 44 # PID file for the daemon 45 PIDFILE=/var/run/influxdb/influxd.pid 96 # Check that the PID file exists, and check the actual status of process 98 PID="$(cat $PIDFILE)" 99 if kill -0 "$PID" &>/dev/null; then 143 PID="$(cat $PIDFILE)" 144 if kill -0 "$PID" &>/dev/null; then 145 # PID up, service running 157 local PID="$(cat $PIDFILE)" 158 if kill -0 $PID &>/dev/null; then [all …]
|
/openbmc/openbmc/meta-openembedded/meta-webserver/recipes-httpd/nginx/files/ |
H A D | nginx.init | 6 PID=/run/nginx/nginx.pid 20 start-stop-daemon --start --quiet --pidfile $PID \ 26 start-stop-daemon -K --quiet --pidfile $PID \ 32 start-stop-daemon -K --quiet --pidfile $PID \ 35 start-stop-daemon --start --quiet --pidfile $PID \ 41 start-stop-daemon --stop --signal HUP --quiet --pidfile $PID \
|
/openbmc/phosphor-dbus-interfaces/gen/xyz/openbmc_project/Debug/Pid/ |
H A D | meson.build | 5 sdbusplus_current_path = 'xyz/openbmc_project/Debug/Pid' 8 'xyz/openbmc_project/Debug/Pid/ThermalPower__markdown'.underscorify(), 10 '../../../../../yaml/xyz/openbmc_project/Debug/Pid/ThermalPower.interface.yaml', 24 'xyz/openbmc_project/Debug/Pid/ThermalPower', 32 'xyz/openbmc_project/Debug/Pid/Zone__markdown'.underscorify(), 34 '../../../../../yaml/xyz/openbmc_project/Debug/Pid/Zone.interface.yaml', 48 'xyz/openbmc_project/Debug/Pid/Zone',
|