Skip to content

Instantly share code, notes, and snippets.

View grigory-rechistov's full-sized avatar

Grigory Rechistov grigory-rechistov

  • Intel
View GitHub Profile
@grigory-rechistov
grigory-rechistov / parse_lmgrd.py
Last active August 11, 2023 14:55
lmgrd log file parser
#!/usr/bin/env python2
# The script to parse a lmgrd log and give some license usage metrics
#
# Copyright (c) 2014 Grigory Rechistov <grigory.rechistov@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# 1. Redistributions of source code must retain the above copyright notice,
@grigory-rechistov
grigory-rechistov / lmgrd-simics
Last active September 6, 2023 07:38
Flexera's lmgrd SysV script for Simics lmgrd-simics
#! /bin/sh
### BEGIN INIT INFO
# Provides: lmgrd-simics
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Control Flexera lmgrd license daemon for Simics installation
# Description: Control start/stop of lmgrd entry for Simics
#