prompt
stringlengths
6
157
response
stringlengths
1
147
inspect pending changes in /srv/svc-02982
git -C /srv/svc-02982 diff --name-status HEAD~1..HEAD -- | sort -nr
show the diff in /srv/svc-02983
git -C /srv/svc-02983 diff --numstat HEAD~1..HEAD src/ | wc -l
filter JSON records for svc-02984
jq -c '.items[] | [.id, .name] | @tsv' /srv/svc-02984/health.json | head -n 50
send a signal to svc-02985 workers
pkill -INT -f svc-02985 | uniq
locate matching files in /srv/svc-02986
find /srv/svc-02986 -type f -name '*.json' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | less
scan configuration files for svc-02987
grep -Rn 'timeout' /var/log/svc-02987.log --exclude='*.min.js' | tail -n 10
query JSON data for svc-02988
jq --indent 2 'map(select(.status == "failed")) | length' /srv/svc-02988/jobs.json | tail -n 50
inspect file handles for svc-02989
lsof -i tcp:22989 -P -n | grep svc-02989 | cat
summarize git differences for /srv/svc-02990
git -C /srv/svc-02990 diff --name-status origin/main...HEAD -- | tail -n 5
find matching lines for svc-02991
grep -RInE 'timeout' /var/log/svc-02991.log --include='*.py' || true
pretty-print JSON for svc-02992
jq '.items[] | [.id, .name] | @tsv' /srv/svc-02992/health.json | head -n 20
query JSON data for svc-02993
jq -r '.services | keys[]' /srv/svc-02993/users.json | tail -n 20
display the commit log for /srv/svc-02994
git -C /srv/svc-02994 log --name-status -n 20 --author='deploy' | grep -v '^#'
summarize git differences for /srv/svc-02995
git -C /srv/svc-02995 diff --stat HEAD~1..HEAD config/ | head -n 5
locate matching files in /srv/svc-02996
find /srv/svc-02996 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 2>&1
scan configuration files for svc-02997
grep -RIn 'panic[(]' /srv/svc-02997 --exclude-dir=vendor | cat
find files under /srv/svc-02998
find /srv/svc-02998 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | head -n 5
filter JSON records for svc-02999
jq -r '.items[] | select(.id == 2999) | .name' /srv/svc-02999/users.json | less
validate JSON status for svc-03000
jq -e 'map(select(.status == "failed")) | length' /srv/svc-03000/data.json | sed -n '1,20p'
extract JSON fields for svc-03001
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-03001/jobs.json | tail -n 5
list matching paths under /srv/svc-03002
find /srv/svc-03002 -maxdepth 2 -type f -name '*.log' -mtime +30 -delete | sort -n
search text for svc-03003
grep -n -A3 -B3 'WARN' /var/log/svc-03003.log --include='*.yaml' >> /tmp/svc-03003.out
query journal history for svc-03004
journalctl -u svc-03004.service --since '24 hours ago' -n 50 --no-pager | grep -i error
count matches in svc-03005 data
grep -n -A3 -B3 'TODO' /srv/svc-03005 --exclude='*.min.js' | head -n 50
locate matching files in /srv/svc-03006
find /srv/svc-03006 -type l -empty -delete || true
list matching paths under /srv/svc-03007
find /srv/svc-03007 -maxdepth 2 -type f -name '*.conf' -size +10M -exec ls -lh {} + | cut -d: -f1
query journal history for svc-03008
journalctl --since '1 hour ago' -u svc-03008.service -n 50 2>&1 | tee /tmp/svc-03008.log
search the svc-03009 directory tree
find /srv/svc-03009 -type l -name '*.conf' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 > /tmp/svc-03009.out
clean up selected files in /srv/svc-03010
find /srv/svc-03010 -maxdepth 2 -type f -name '*.tmp' -size +50M -delete | awk '{print $2}'
stream pod logs for svc-03011
kubectl logs deployment/svc-03011 --tail=200 | tee /tmp/svc-03011.out
list svc-03012 account details
id -G svc-03012 | grep -i warn
show the diff in /srv/svc-03013
git -C /srv/svc-03013 diff --numstat --cached -- | tail -n 5
search the svc-03014 directory tree
find /srv/svc-03014 -type f -name '*.json' -exec ls -lh {} + | sort
summarize git differences for /srv/svc-03015
git -C /srv/svc-03015 diff --numstat origin/main...HEAD config/ | tr -s ' '
list svc-03016 account details
id -g svc-03016 | fold -w 120
pretty-print JSON for svc-03017
jq -e '.metadata' /srv/svc-03017/users.json | sed -n '1,20p'
query JSON data for svc-03018
jq -c '.metadata' /srv/svc-03018/config.json | fold -w 120
search the svc-03019 directory tree
find /srv/svc-03019 -type d -empty -size +50M -exec gzip {} + | awk '{print $2}'
clean up selected files in /srv/svc-03020
find /srv/svc-03020 -type l -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | head -n 50
extract JSON fields for svc-03021
jq --indent 2 '.services | keys[]' /srv/svc-03021/config.json | column -t
list matching paths under /srv/svc-03022
find /srv/svc-03022 -type l -name '*.conf' -newermt '1 day ago' -exec gzip {} + | rev
find files under /srv/svc-03023
find /srv/svc-03023 -type f -name '*.gz' -mtime +30 -print | tail -n 50
check changed files in /srv/svc-03024
git -C /srv/svc-03024 status --short --branch | grep -i warn
show running containers for svc-03025
docker ps -q --format '{{.Names}}' --filter 'status=running' | wc -l | tee /tmp/svc-03025.out | head -n 20
find duplicate values for svc-03026
uniq -c /var/log/svc-03026.log | sort -nr | tac
scan configuration files for svc-03027
grep -n -A3 -B3 'ERROR' /var/log/svc-03027.log --exclude='*.min.js' | cat
query JSON data for svc-03028
jq -S '.status == "ok"' /srv/svc-03028/data.json | tee /tmp/svc-03028.out
read journal entries for svc-03029
journalctl --since 'today' -f | cat | tee /tmp/svc-03029.out | head -n 20
clean up selected files in /srv/svc-03030
find /srv/svc-03030 -type f -name '*.log' -exec ls -lh {} + > /tmp/svc-03030.out
check reachability of svc-03031.example.com
ping -c 4 -s 1200 svc-03031.example.com | tac
list matching paths under /srv/svc-03032
find /srv/svc-03032 -type f -empty -size +50M -exec ls -lh {} + | sort -k2
query JSON data for svc-03033
jq '.items[] | [.id, .name] | @tsv' /srv/svc-03033/config.json | head -n 10
read container logs for svc-03034
docker logs --since '24h' --timestamps svc-03034 | grep -i error | rev
clean up selected files in /srv/svc-03035
find /srv/svc-03035 -type l -name '*.gz' -mtime +30 -exec ls -lh {} + | uniq
read container logs for svc-03036
docker logs --since '1h' -f svc-03036 | grep -i error | tee /tmp/svc-03036.out
pretty-print JSON for svc-03037
jq -S 'map(select(.status == "failed")) | length' /srv/svc-03037/jobs.json | grep -i error
query JSON data for svc-03038
jq -S 'map(select(.status == "failed")) | length' /srv/svc-03038/data.json | tail -n 20
list changed files in /srv/svc-03039
git -C /srv/svc-03039 diff --check HEAD~1..HEAD >> /tmp/svc-03039.out
read container logs for svc-03040
docker logs --tail 500 svc-03040 | tail -n 50
summarize text columns for svc-03041
awk -F, '{print length($0), $0}' /etc/svc-03041/config.ini | sort -nr | head | uniq -c
pretty-print JSON for svc-03042
jq -r '.items[] | [.id, .name] | @tsv' /srv/svc-03042/config.json | tac
find files under /srv/svc-03043
find /srv/svc-03043 -type l -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | cut -d, -f1
search the svc-03044 directory tree
find /srv/svc-03044 -type l -name '*.log' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | column -t
summarize git differences for /srv/svc-03045
git -C /srv/svc-03045 diff --color-words src/ | grep -i warn
clean up svc-03046 text files
sed -i '/^$/d' /etc/svc-03046/hosts | tac
upgrade the svc-03047 chart
helm template svc-03047 ./chart -n svc-03047 | sed 's/^/ /'
query JSON data for svc-03048
jq -S '.items[] | select(.id == 3048) | .name' /srv/svc-03048/jobs.json || true
search the svc-03049 directory tree
find /srv/svc-03049 -mindepth 1 -type f -name '*.tmp' -exec gzip {} + | grep -E '^[^#]'
clean up selected files in /srv/svc-03050
find /srv/svc-03050 -maxdepth 2 -type f -empty -mtime +7 -delete
extract JSON fields for svc-03051
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-03051/users.json | fold -w 120
list matching paths under /srv/svc-03052
find /srv/svc-03052 -type f -empty -size +10M -exec ls -lh {} + | tac
start a disposable docker container for svc-03053
docker run --rm -v /srv/svc-03053:/data alpine:3.20 du -sh /data | head -n 20
query systemd status for svc-03054
systemctl reload svc-03054.timer --no-pager | tr -s ' '
inspect running tasks for svc-03055
ps -eo pid,user,%mem,cmd --sort=-%mem | grep svc-03055 | tr -s ' '
display docker container details for svc-03056
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-03056'
scan configuration files for svc-03057
grep -c 'panic[(]' /srv/svc-03057 --exclude-dir=vendor | tr -s ' '
read container logs for svc-03058
kubectl logs job/svc-03058-migrate -n svc-03058 | tac
filter log content for svc-03059
grep -RIn '^#' /etc/svc-03059/config.ini --include='*.go' >> /tmp/svc-03059.out
summarize git differences for /srv/svc-03060
git -C /srv/svc-03060 diff --color-words src/ 2>/dev/null
extract JSON fields for svc-03061
jq -S '.items[] | .name' /srv/svc-03061/health.json
list matching paths under /srv/svc-03062
find /srv/svc-03062 -maxdepth 2 -type f -empty -print | tee /tmp/svc-03062.out
search text for svc-03063
grep -RIn 'TODO' /srv/svc-03063 --include='*.go' | head -n 5
filter log content for svc-03064
grep -Rn '^#' /etc/svc-03064/config.ini --exclude='*.min.js' 2>&1
clean up selected files in /srv/svc-03065
find /srv/svc-03065 -maxdepth 2 -type f -name '*.json' -newermt '1 day ago' -exec gzip {} + | uniq
display docker container details for svc-03066
docker ps --latest --format 'table {{.Names}}\t{{.Status}}' --filter 'status=running' | tr -s ' ' | tee /tmp/svc-03066.out | head -n 20
give svc-03067 ownership of its data
chown -R root:root /etc/svc-03067 | head -n 5
read container logs for svc-03068
docker logs --tail 50 svc-03068 2>&1 | sed -n '1,20p'
display the commit log for /srv/svc-03069
git -C /srv/svc-03069 log --oneline -n 50 2>&1 | tee /tmp/svc-03069.log
clean up selected files in /srv/svc-03070
find /srv/svc-03070 -type d -name '*.conf' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
locate matching files in /srv/svc-03071
find /srv/svc-03071 -type l -name '*.conf' -size +10M -exec gzip {} + 2>&1 | tee /tmp/svc-03071.log
scan configuration files for svc-03072
grep -Rn 'ERROR' /var/log/svc-03072.log --exclude-dir=vendor | cut -d: -f1
find files under /srv/svc-03073
find /srv/svc-03073 -type l -name '*.json' -mtime +30 -delete | tail -n 10
filter log content for svc-03074
grep -v '^#' /etc/svc-03074/config.ini --include='*.go' | head -n 20
clean up selected files in /srv/svc-03075
find /srv/svc-03075 -maxdepth 2 -type f -empty -size +50M -exec gzip {} + | awk '{print $1}'
locate matching files in /srv/svc-03076
find /srv/svc-03076 -type l -name '*.tmp' -newermt '1 day ago' -exec ls -lh {} + | uniq
list matching paths under /srv/svc-03077
find /srv/svc-03077 -maxdepth 2 -type f -name '*.log' -mtime +30 -exec gzip {} + | fold -w 120
find files under /srv/svc-03078
find /srv/svc-03078 -type d -empty -mtime +30 -print | awk '{print $1}'
display the commit log for /srv/svc-03079
git -C /srv/svc-03079 log --graph --oneline -n 100 >> /tmp/svc-03079.out
clean up selected files in /srv/svc-03080
find /srv/svc-03080 -type f -name '*.tmp' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | uniq
locate matching files in /srv/svc-03081
find /srv/svc-03081 -mindepth 1 -type f -name '*.tmp' -size +50M -exec ls -lh {} + | head -n 20