prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-13982
grep -Rn 'FIXME' /srv/svc-13982 --include='*.yaml' | sed 's/^/ /'
search text for svc-13983
grep -Rn 'FIXME' /srv/svc-13983 2>&1 | tee /tmp/svc-13983.log
filter log content for svc-13984
grep -c 'WARN' /var/log/svc-13984.log --include='*.go' | grep -i warn
clean up selected files in /srv/svc-13985
find /srv/svc-13985 -mindepth 1 -type f -name '*.tmp' -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
diagnose routing to svc-13986.example.com
traceroute -n svc-13986.example.com >> /tmp/svc-13986.out
list matching paths under /srv/svc-13987
find /srv/svc-13987 -maxdepth 2 -type f -name '*.tmp' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
find files under /srv/svc-13988
find /srv/svc-13988 -mindepth 1 -type f -name '*.gz' -mtime +30 -delete | sort -nr
start a disposable docker container for svc-13989
docker run --rm -d -v /srv/svc-13989:/data alpine:3.20 du -sh /data | sort -u
clean up selected files in /srv/svc-13990
find /srv/svc-13990 -mindepth 1 -type f -name '*.gz' -size +10M -exec ls -lh {} + | tail -n 50
read journal entries for svc-13991
journalctl -u svc-13991.service --until '1 hour ago' --no-pager | tail -n 10
query systemd status for svc-13992
systemctl show svc-13992.timer | awk '{print $2}'
search text for svc-13993
grep -Rn 'FIXME' /srv/svc-13993 --include='*.py' 2>&1
verify a network port for svc-13994
nc -zv svc-13994.example.com 443 | grep -v '^#'
count matches in svc-13995 data
grep -RInE 'secret' /etc/svc-13995 --include='*.go' | grep -E '^[^#]'
locate matching files in /srv/svc-13996
find /srv/svc-13996 -type d -name '*.tmp' -size +50M -print | sort -u
check filesystem usage for svc-13997
df -h /srv/svc-13997 /home | nl -ba
query JSON data for svc-13998
jq -S '.services | keys[]' /srv/svc-13998/data.json | less
display the commit log for /srv/svc-13999
git -C /srv/svc-13999 log --oneline -n 100 --grep='fix' | paste -sd, -
process log fields for svc-14000
awk -F: 'NR % 100 == 0 {print NR, $0}' /var/log/svc-14000/app.log | awk '{print $2}'
show running containers for svc-14001
docker ps -q --format 'table {{.Names}}\t{{.Status}}' --filter 'label=app=svc-14001' | tac
inspect recent changes in /srv/svc-14002
git -C /srv/svc-14002 log --stat -n 20 --all 2>/dev/null
search text for svc-14003
grep -n -A3 -B3 'secret' /etc/svc-14003 --include='*.py' | grep -i warn
filter log content for svc-14004
grep -RInE '^#' /etc/svc-14004/config.ini | awk '{print $1}'
clean up selected files in /srv/svc-14005
find /srv/svc-14005 -type l -name '*.log' -print 2>&1 | tee /tmp/svc-14005.log
locate matching files in /srv/svc-14006
find /srv/svc-14006 -type f -name '*.json' -mtime +7 -delete | column -t
inspect pending changes in /srv/svc-14007
git -C /srv/svc-14007 diff --check origin/main...HEAD -- | grep -i error
find files under /srv/svc-14008
find /srv/svc-14008 -type l -name '*.conf' -mtime +7 -print | uniq
display the commit log for /srv/svc-14009
git -C /srv/svc-14009 log --format='%h %ad %s' --date=short -n 20 --since='1 week ago' | sort
query systemd status for svc-14010
systemctl reload svc-14010.service | sort -u
show running containers for svc-14011
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-14011' | grep -i error
inspect branch and file status for /srv/svc-14012
git -C /srv/svc-14012 status --porcelain=v1 --branch | head -n 20
show the diff in /srv/svc-14013
git -C /srv/svc-14013 diff --numstat config/ | sort -nr
search the svc-14014 directory tree
find /srv/svc-14014 -type d -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
clean up selected files in /srv/svc-14015
find /srv/svc-14015 -type d -name '*.tmp' -exec gzip {} + | sort -k2
save a commit message for /srv/svc-14016
git -C /srv/svc-14016 commit -m 'docs: update README' --no-verify | fold -w 120
read journal entries for svc-14017
journalctl --since '1 hour ago' -u svc-14017.service -n 500 --output=short-iso 2>&1 | tee /tmp/svc-14017.log
read container logs for svc-14018
docker logs --tail 500 svc-14018 2>&1 | head -n 10
search the svc-14019 directory tree
find /srv/svc-14019 -type f -empty -newermt '1 day ago' -exec ls -lh {} + > /tmp/svc-14019.out
count matches in svc-14020 data
grep -c 'FIXME' /srv/svc-14020 --include='*.yaml' | grep -i error
list git history for /srv/svc-14021
git -C /srv/svc-14021 log --stat -n 10 --grep='fix' | head -n 50
process log fields for svc-14022
awk -F: '/ERROR/ {count++} END {print count+0}' /var/log/svc-14022.log | awk '{print $1}'
inspect systemd unit state for svc-14023
systemctl reload svc-14023.socket --no-block | tail -n 5
display the commit log for /srv/svc-14024
git -C /srv/svc-14024 log --format='%h %ad %s' --date=short -n 20 --decorate
summarize git differences for /srv/svc-14025
git -C /srv/svc-14025 diff --name-status -- | column -t
list git history for /srv/svc-14026
git -C /srv/svc-14026 log --graph --oneline -n 10 --all | less
inspect pending changes in /srv/svc-14027
git -C /srv/svc-14027 diff --name-status HEAD~1 --
show git status for /srv/svc-14028
git -C /srv/svc-14028 status --ignored --untracked-files=normal | head -n 20
display recent container output for svc-14029
docker logs --tail 100 svc-14029 | grep -i error | tee /tmp/svc-14029.out
print a git log summary for /srv/svc-14030
git -C /srv/svc-14030 log --name-status -n 50 --decorate | nl -ba
locate matching files in /srv/svc-14031
find /srv/svc-14031 -mindepth 1 -type f -name '*.gz' -exec gzip {} + | fold -w 120
list matching paths under /srv/svc-14032
find /srv/svc-14032 -mindepth 1 -type f -name '*.log' -mtime +7 -exec ls -lh {} + | cat
find files under /srv/svc-14033
find /srv/svc-14033 -type f -empty -mtime +7 -delete >> /tmp/svc-14033.out
summarize svc-14034 storage use
du -sh /srv/svc-14034/logs | nl -ba
read journal entries for svc-14035
journalctl --since 'today' -n 50 2>&1 | tee /tmp/svc-14035.out | head -n 20
compare revisions in /srv/svc-14036
git -C /srv/svc-14036 diff --check --cached | sed -n '1,20p'
inspect systemd unit state for svc-14037
systemctl restart svc-14037.timer --no-pager | less
show recent commits in /srv/svc-14038
git -C /srv/svc-14038 log --graph --oneline -n 50 --since='1 week ago' | grep -v '^#'
check changed files in /srv/svc-14039
git -C /srv/svc-14039 status --short --show-stash | tee -a /tmp/svc-14039.log
print a git log summary for /srv/svc-14040
git -C /srv/svc-14040 log --format='%h %ad %s' --date=short -n 20 --author='deploy' | cut -d: -f1
list git history for /srv/svc-14041
git -C /srv/svc-14041 log --name-status -n 20 --since='1 week ago' | tee /tmp/svc-14041.out
query journal history for svc-14042
journalctl --since 'today' -n 500 2>&1 | tee /tmp/svc-14042.out | head -n 20
find files under /srv/svc-14043
find /srv/svc-14043 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | wc -l
filter JSON records for svc-14044
jq '.metadata' /srv/svc-14044/users.json | tail -n 20
clean up selected files in /srv/svc-14045
find /srv/svc-14045 -type d -name '*.tmp' -mtime +30 -delete | grep -E '^[^#]'
read container logs for svc-14046
docker logs --tail 500 -f svc-14046 | fold -w 120
list matching paths under /srv/svc-14047
find /srv/svc-14047 -type l -name '*.conf' -mtime +7 -exec ls -lh {} + | rev
save a commit message for /srv/svc-14048
git -C /srv/svc-14048 commit --amend --no-edit --allow-empty | tail -n 10
inspect systemd unit state for svc-14049
systemctl show svc-14049.timer | wc -l
summarize git differences for /srv/svc-14050
git -C /srv/svc-14050 diff --color-words origin/main...HEAD | head -n 5
read journal entries for svc-14051
journalctl -u svc-14051.service --until '1 hour ago' -n 100 --output=short-iso | nl -ba
list matching paths under /srv/svc-14052
find /srv/svc-14052 -type f -name '*.conf' -size +10M -print | grep -v '^#'
search text for svc-14053
grep -v 'FIXME' /srv/svc-14053 --include='*.yaml' | tail -n 5
check resource use for svc-14054
ps -e -o pid,stat,wchan:30,cmd | grep svc-14054 | grep -v '^#'
clean up selected files in /srv/svc-14055
find /srv/svc-14055 -type l -name '*.conf' -mtime +30 -exec gzip {} + | head -n 20
display docker container details for svc-14056
docker ps -a --no-trunc --format '{{.Names}}' --filter 'status=running' >> /tmp/svc-14056.out
pretty-print JSON for svc-14057
jq -r 'map(select(.status == "failed")) | length' /srv/svc-14057/jobs.json | cat
find files under /srv/svc-14058
find /srv/svc-14058 -type d -empty -size +10M -exec ls -lh {} + | head -n 50
filter JSON records for svc-14059
jq -S '.status == "ok"' /srv/svc-14059/config.json | grep -v '^#'
validate JSON status for svc-14060
jq --indent 2 '.items[] | [.id, .name] | @tsv' /srv/svc-14060/data.json | head -n 20
test TCP connectivity for svc-14061
nc -zv -w 2 svc-14061.example.com 34061 | sort -n
inspect branch and file status for /srv/svc-14062
git -C /srv/svc-14062 status --porcelain=v2 --branch --untracked-files=normal | sort -n
search text for svc-14063
grep -n -A3 -B3 '^#' /etc/svc-14063/config.ini --exclude='*.min.js' | less
find duplicate values for svc-14064
uniq -w 10 /var/log/svc-14064.log | less
clean up selected files in /srv/svc-14065
find /srv/svc-14065 -maxdepth 2 -type f -name '*.gz' -size +10M -delete | wc -l
set access modes for svc-14066
chmod u+x /srv/svc-14066/bin/start.sh | grep -i warn
show pods for svc-14067
kubectl get deploy svc-14067 -n svc-14067 -o yaml | cut -d, -f1
find files under /srv/svc-14068
find /srv/svc-14068 -type l -name '*.gz' -mtime +7 -exec ls -lh {} + 2>&1
inspect systemd unit state for svc-14069
systemctl is-active svc-14069.timer | uniq
clean up selected files in /srv/svc-14070
find /srv/svc-14070 -type l -name '*.json' -mtime +7 -exec ls -lh {} + 2>/dev/null
locate matching files in /srv/svc-14071
find /srv/svc-14071 -mindepth 1 -type f -name '*.json' -mtime +7 -exec ls -lh {} + > /tmp/svc-14071.out
save a commit message for /srv/svc-14072
git -C /srv/svc-14072 commit -m 'docs: update README' | paste -sd, -
find files under /srv/svc-14073
find /srv/svc-14073 -type l -name '*.gz' -newermt '1 day ago' -exec ls -lh {} + > /tmp/svc-14073.out
search the svc-14074 directory tree
find /srv/svc-14074 -type l -name '*.json' -mtime +30 -exec gzip {} + | sort -n
clean up selected files in /srv/svc-14075
find /srv/svc-14075 -mindepth 1 -type f -name '*.json' -mtime +30 -exec gzip {} + | sort -u
locate matching files in /srv/svc-14076
find /srv/svc-14076 -type d -name '*.tmp' -delete > /tmp/svc-14076.out
inspect branch and file status for /srv/svc-14077
git -C /srv/svc-14077 status --long --untracked-files=all 2>/dev/null
test network path to svc-14078.example.com
ping -c 4 -s 1200 svc-14078.example.com | head -n 5
filter JSON records for svc-14079
jq -e '.users[] | select(.active == true) | .email' /srv/svc-14079/data.json | tac
summarize git differences for /srv/svc-14080
git -C /srv/svc-14080 diff --numstat --cached -- | grep -v '^#'
inspect groups for svc-14081
id -g svc-14081 | head -n 10