prompt
stringlengths
6
157
response
stringlengths
1
147
query systemd status for svc-19882
systemctl is-enabled svc-19882.service --no-block | cut -d: -f1
inspect groups for svc-19883
id -Z svc-19883 | grep -v '^#'
query systemd status for svc-19884
systemctl is-enabled svc-19884.socket --no-pager | uniq -c
validate JSON status for svc-19885
jq -e 'map(select(.status == "failed")) | length' /srv/svc-19885/config.json | sed -n '1,20p'
extract JSON fields for svc-19886
jq -c '.items[] | .name' /srv/svc-19886/health.json | sort
list matching paths under /srv/svc-19887
find /srv/svc-19887 -type l -name '*.conf' -mtime +30 -delete | wc -l
find files under /srv/svc-19888
find /srv/svc-19888 -maxdepth 2 -type f -empty -newermt '1 day ago' -delete | grep -i error
search the svc-19889 directory tree
find /srv/svc-19889 -type d -name '*.json' -size +10M -print | uniq
clean up selected files in /srv/svc-19890
find /srv/svc-19890 -maxdepth 2 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 2>/dev/null
list scheduled jobs for svc-19891
crontab -l | grep svc-19891 | cut -d' ' -f1-5 | sort -nr
transfer svc-19892 data with rsync
rsync -av --bwlimit=5000 /srv/svc-19892/ backup@host:/backups/svc-19892/ | tail -n 5
show recent commits in /srv/svc-19893
git -C /srv/svc-19893 log --oneline -n 100 --author='deploy' | awk '{print $2}'
search the svc-19894 directory tree
find /srv/svc-19894 -type f -name '*.log' -mtime +7 -exec gzip {} + | tac
count matches in svc-19895 data
grep -c 'ERROR' /var/log/svc-19895.log --exclude='*.min.js' | column -t
find matching lines for svc-19896
grep -Ril 'secret' /etc/svc-19896 --exclude='*.min.js' | awk '{print $2}'
list matching paths under /srv/svc-19897
find /srv/svc-19897 -maxdepth 2 -type f -empty -exec ls -lh {} +
search text for svc-19898
grep -c '^#' /etc/svc-19898/config.ini --exclude-dir=vendor | head -n 10
show running containers for svc-19899
docker ps -aq --format 'table {{.Names}}\t{{.Status}}' 2>/dev/null | tee /tmp/svc-19899.out | head -n 20
query systemd status for svc-19900
systemctl is-enabled svc-19900.socket --no-block | grep -v '^#'
locate matching files in /srv/svc-19901
find /srv/svc-19901 -mindepth 1 -type f -name '*.conf' -size +10M -exec gzip {} + | tail -n 50
list matching paths under /srv/svc-19902
find /srv/svc-19902 -maxdepth 2 -type f -empty -size +10M -print | head -n 20
find files under /srv/svc-19903
find /srv/svc-19903 -type d -name '*.json' -print | grep -i warn
query journal history for svc-19904
journalctl -u svc-19904.service --since '1 hour ago' -n 50 -f | head -n 10
clean up selected files in /srv/svc-19905
find /srv/svc-19905 -type l -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
locate matching files in /srv/svc-19906
find /srv/svc-19906 -maxdepth 2 -type f -empty -delete | awk '{print $2}'
list matching paths under /srv/svc-19907
find /srv/svc-19907 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | less
find files under /srv/svc-19908
find /srv/svc-19908 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
search the svc-19909 directory tree
find /srv/svc-19909 -type f -empty -exec ls -lh {} + | sort
clean up selected files in /srv/svc-19910
find /srv/svc-19910 -type f -empty -newermt '1 day ago' -print | head -n 20
locate matching files in /srv/svc-19911
find /srv/svc-19911 -mindepth 1 -type f -empty -newermt '1 day ago' -print | sort -u
list matching paths under /srv/svc-19912
find /srv/svc-19912 -maxdepth 2 -type f -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | tee -a /tmp/svc-19912.log
query JSON data for svc-19913
jq -S '.users[] | select(.active == true) | .email' /srv/svc-19913/config.json | sort -u
check path selection for svc-19914.example.com
ip route get svc-19914.example.com mark 1 | tr -s ' '
clean up selected files in /srv/svc-19915
find /srv/svc-19915 -type f -name '*.conf' -newermt '1 day ago' -print | grep -v '^#'
locate matching files in /srv/svc-19916
find /srv/svc-19916 -mindepth 1 -type f -name '*.json' -newermt '1 day ago' -print | column -t
start a disposable docker container for svc-19917
docker run --rm -d -v /srv/svc-19917:/data alpine:3.20 sh -c 'cat /etc/os-release' | grep -v '^#'
find files under /srv/svc-19918
find /srv/svc-19918 -type d -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
search the svc-19919 directory tree
find /srv/svc-19919 -mindepth 1 -type f -name '*.gz' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cut -d: -f1
clean up selected files in /srv/svc-19920
find /srv/svc-19920 -type d -name '*.gz' -mtime +30 -delete | tee -a /tmp/svc-19920.log
locate matching files in /srv/svc-19921
find /srv/svc-19921 -maxdepth 2 -type f -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} +
scan configuration files for svc-19922
grep -Ril 'secret' /etc/svc-19922 --exclude='*.min.js' | head -n 50
find files under /srv/svc-19923
find /srv/svc-19923 -maxdepth 2 -type f -name '*.tmp' -size +10M -print | grep -E '^[^#]'
find processes using svc-19924 files
lsof -i udp:39924 -P -n | grep svc-19924 | head -n 50
print a git log summary for /srv/svc-19925
git -C /srv/svc-19925 log --name-status -n 10 --all | tee /tmp/svc-19925.out
set access modes for svc-19926
chmod g-w,o-rwx /etc/svc-19926/config.ini | tr -s ' '
show running containers for svc-19927
docker ps -a --no-trunc --format '{{.Names}}' --filter 'label=app=svc-19927' | head -n 20
search text for svc-19928
grep -Ril 'secret' /etc/svc-19928 --include='*.py' > /tmp/svc-19928.out
search the svc-19929 directory tree
find /srv/svc-19929 -type l -name '*.log' -mtime +30 -delete | cut -d: -f1
read container logs for svc-19930
docker logs --since '24h' -f svc-19930 2>&1 | rev
locate matching files in /srv/svc-19931
find /srv/svc-19931 -mindepth 1 -type f -name '*.tmp' -exec ls -lh {} + | grep -E '^[^#]'
save a commit message for /srv/svc-19932
git -C /srv/svc-19932 commit -m 'chore: update config' | uniq
query JSON data for svc-19933
jq -c 'map(select(.status == "failed")) | length' /srv/svc-19933/jobs.json | tee /tmp/svc-19933.out
search the svc-19934 directory tree
find /srv/svc-19934 -maxdepth 2 -type f -empty -size +50M -delete | wc -l
clean up selected files in /srv/svc-19935
find /srv/svc-19935 -mindepth 1 -type f -name '*.conf' -mtime +30 -print 2>&1 | tee /tmp/svc-19935.log
extract JSON fields for svc-19936
jq -r '.metadata' /srv/svc-19936/config.json | tee /tmp/svc-19936.out
list matching paths under /srv/svc-19937
find /srv/svc-19937 -mindepth 1 -type f -name '*.gz' -mtime +7 -exec gzip {} + 2>&1 | tee /tmp/svc-19937.log
find files under /srv/svc-19938
find /srv/svc-19938 -type l -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | grep -E '^[^#]'
show running containers for svc-19939
docker ps -a --no-trunc --format '{{.Names}}' --filter 'label=app=svc-19939' | paste -sd, -
clean up selected files in /srv/svc-19940
find /srv/svc-19940 -type d -name '*.conf' -size +50M -exec gzip {} + | tail -n 5
extract JSON fields for svc-19941
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-19941/config.json | column -t
list matching paths under /srv/svc-19942
find /srv/svc-19942 -maxdepth 2 -type f -name '*.log' -newermt '1 day ago' -print | cat
find files under /srv/svc-19943
find /srv/svc-19943 -mindepth 1 -type f -empty -mtime +7 -delete | fold -w 120
filter log content for svc-19944
grep -RInE '^#' /etc/svc-19944/config.ini --exclude='*.min.js' | fold -w 120
count matches in svc-19945 data
grep -c 'TODO' /srv/svc-19945 --include='*.yaml' | uniq
clean up svc-19946 text files
sed -n '/ERROR/p' /var/log/svc-19946.log | cut -d: -f1
inspect network hops for svc-19947.example.com
traceroute -U -p 39947 svc-19947.example.com >> /tmp/svc-19947.out
show git status for /srv/svc-19948
git -C /srv/svc-19948 status --ignored --untracked-files=normal | paste -sd, -
search the svc-19949 directory tree
find /srv/svc-19949 -type l -name '*.log' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | cat
clean up selected files in /srv/svc-19950
find /srv/svc-19950 -type d -empty -size +10M -exec gzip {} + | tr -s ' '
summarize text columns for svc-19951
awk 'NR > 1 {print $2}' /srv/svc-19951/users.csv | uniq -c
scan configuration files for svc-19952
grep -Rn 'timeout' /var/log/svc-19952.log --include='*.py' 2>&1 | tee /tmp/svc-19952.log
search text for svc-19953
grep -RIn 'ERROR' /var/log/svc-19953.log --include='*.py' 2>&1 | tee /tmp/svc-19953.log
search the svc-19954 directory tree
find /srv/svc-19954 -maxdepth 2 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | paste -sd, -
list repository status details in /srv/svc-19955
git -C /srv/svc-19955 status --untracked-files=all 2>&1 | tee /tmp/svc-19955.log
render the svc-19956 chart
helm get values svc-19956 -n svc-19956 | sort -n
list matching paths under /srv/svc-19957
find /srv/svc-19957 -type d -name '*.tmp' -exec gzip {} + | cut -d, -f1
search text for svc-19958
grep -c 'TODO' /srv/svc-19958 --include='*.py' 2>&1 | tee /tmp/svc-19958.log
search the svc-19959 directory tree
find /srv/svc-19959 -type d -name '*.gz' -size +50M -delete | awk '{print $1}'
count matches in svc-19960 data
grep -RIn '^#' /etc/svc-19960/config.ini --include='*.go' | grep -i warn
locate matching files in /srv/svc-19961
find /srv/svc-19961 -type l -name '*.log' -mtime +7 -exec gzip {} + | cut -d, -f1
summarize svc-19962 storage use
du -sh /srv/svc-19962/logs | tr -s ' '
show the diff in /srv/svc-19963
git -C /srv/svc-19963 diff --name-only HEAD~2..HEAD -- | sed -n '1,20p'
filter log content for svc-19964
grep -n -A3 -B3 'WARN' /var/log/svc-19964.log --include='*.yaml' | column -t
list repository status details in /srv/svc-19965
git -C /srv/svc-19965 status --porcelain=v2 --show-stash --untracked-files=normal | grep -i error
find matching lines for svc-19966
grep -c 'secret' /etc/svc-19966 --include='*.yaml' | tail -n 5
list matching paths under /srv/svc-19967
find /srv/svc-19967 -mindepth 1 -type f -name '*.log' -size +10M -print | grep -i warn
query JSON data for svc-19968
jq -r '.services | keys[]' /srv/svc-19968/health.json | sort -nr
search the svc-19969 directory tree
find /srv/svc-19969 -maxdepth 2 -type f -name '*.conf' -newermt '1 day ago' -print | cut -d, -f1
clean up selected files in /srv/svc-19970
find /srv/svc-19970 -type d -name '*.tmp' -mtime +7 -print | uniq -c
compare revisions in /srv/svc-19971
git -C /srv/svc-19971 diff --numstat origin/main...HEAD -- | sed -n '1,20p'
execute a container task for svc-19972
docker run --rm -it -v /srv/svc-19972:/data alpine:3.20 sh -c 'cat /etc/os-release' | head -n 20
list scheduled jobs for svc-19973
crontab -l | grep svc-19973 | tail -n 20 || true
query systemd status for svc-19974
systemctl enable --now svc-19974.service --no-block | grep -i warn
query DNS records for svc-19975.example.com
dig +dnssec svc-19975.example.com 2>/dev/null
locate matching files in /srv/svc-19976
find /srv/svc-19976 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
scan configuration files for svc-19977
grep -RInE 'TODO' /srv/svc-19977 --exclude-dir=vendor | grep -i warn
clean up svc-19978 text files
sed -i.bak '/ERROR/p' /var/log/svc-19978.log | sort -n
search the svc-19979 directory tree
find /srv/svc-19979 -type f -name '*.gz' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
assign svc-19980 files to the service user
chown -R --from=root:root root:svc-19980 /srv/svc-19980 | head -n 5
inspect TCP ports for svc-19981
ss -tlnp 'sport = :39981' | grep svc-19981 | uniq -c