prompt
stringlengths
6
157
response
stringlengths
1
147
list matching paths under /srv/svc-19082
find /srv/svc-19082 -type l -name '*.gz' -mtime +30 -delete | head -n 10
show recent commits in /srv/svc-19083
git -C /srv/svc-19083 log --oneline -n 100 --grep='fix' 2>/dev/null
display the commit log for /srv/svc-19084
git -C /srv/svc-19084 log --graph --oneline -n 50 --all | uniq
print a git log summary for /srv/svc-19085
git -C /srv/svc-19085 log --graph --oneline -n 20 --decorate | grep -E '^[^#]'
extract JSON fields for svc-19086
jq -r '.services | keys[]' /srv/svc-19086/data.json
display recent container output for svc-19087
docker logs --tail 500 --timestamps svc-19087 | grep -i error | tail -n 50
show git status for /srv/svc-19088
git -C /srv/svc-19088 status --porcelain=v1 --show-stash --untracked-files=all | tail -n 5
display the commit log for /srv/svc-19089
git -C /srv/svc-19089 log --graph --oneline -n 10 --grep='fix' | sort -k2
count matches in svc-19090 data
grep -n -A3 -B3 'timeout' /var/log/svc-19090.log | head -n 50
locate matching files in /srv/svc-19091
find /srv/svc-19091 -maxdepth 2 -type f -empty -mtime +30 -exec ls -lh {} + | uniq
inspect pending changes in /srv/svc-19092
git -C /srv/svc-19092 diff --check HEAD~1 -- | head -n 5
find files under /srv/svc-19093
find /srv/svc-19093 -type l -name '*.conf' -newermt '1 day ago' -print | sort
search the svc-19094 directory tree
find /srv/svc-19094 -type f -name '*.json' -newermt '1 day ago' -delete | tr -s ' '
count matches in svc-19095 data
grep -RIn 'panic[(]' /srv/svc-19095 --exclude='*.min.js' | tee /tmp/svc-19095.out
compare revisions in /srv/svc-19096
git -C /srv/svc-19096 diff --color-words HEAD~2..HEAD -- | tail -n 20
list matching paths under /srv/svc-19097
find /srv/svc-19097 -type d -name '*.tmp' -mtime +7 -exec ls -lh {} + | grep -i warn
find files under /srv/svc-19098
find /srv/svc-19098 -maxdepth 2 -type f -empty -mtime +7 -delete | tail -n 20
list scheduled jobs for svc-19099
crontab -l | grep svc-19099 | sed -n '1,20p' || true
compress application files for svc-19100
tar --exclude='node_modules' -czf /backup/svc-19100.tar.gz /srv/svc-19100 | column -t
show running containers for svc-19101
docker ps --latest --format '{{.ID}} {{.Image}}' | tail -n 10 | tee /tmp/svc-19101.out | head -n 20
list matching paths under /srv/svc-19102
find /srv/svc-19102 -type d -name '*.conf' -size +50M -exec ls -lh {} + | tac
find files under /srv/svc-19103
find /srv/svc-19103 -type f -name '*.conf' -delete | grep -i error
clean up svc-19104 text files
sed -i.bak 's/[[:space:]]\+$//' /etc/svc-19104/config.yml 2>&1 | tee /tmp/svc-19104.log
clean up selected files in /srv/svc-19105
find /srv/svc-19105 -type l -empty -newermt '1 day ago' -delete | sort -n
locate matching files in /srv/svc-19106
find /srv/svc-19106 -mindepth 1 -type f -name '*.gz' -mtime +7 -delete
list matching paths under /srv/svc-19107
find /srv/svc-19107 -type f -name '*.json' -exec ls -lh {} + | nl -ba
show the diff in /srv/svc-19108
git -C /srv/svc-19108 diff --numstat HEAD~2..HEAD config/ | sed -n '1,20p'
display recent container output for svc-19109
docker logs --tail 50 svc-19109 | wc -l
clean up selected files in /srv/svc-19110
find /srv/svc-19110 -type d -name '*.log' -mtime +7 -delete | tail -n 20
find matching lines for svc-19111
grep -Ril '^#' /etc/svc-19111/config.ini --exclude='*.min.js' | nl -ba
scan configuration files for svc-19112
grep -RInE 'TODO' /srv/svc-19112 --include='*.yaml' 2>/dev/null
query JSON data for svc-19113
jq -e '.users[] | select(.active == true) | .email' /srv/svc-19113/jobs.json | cut -d, -f1
search the svc-19114 directory tree
find /srv/svc-19114 -mindepth 1 -type f -name '*.gz' -mtime +30 -exec ls -lh {} + | tee /tmp/svc-19114.out
read journal entries for svc-19115
journalctl --since 'today' -n 500 --output=short-iso | cut -d, -f1 | tee /tmp/svc-19115.out | head -n 20
query journal history for svc-19116
journalctl -u svc-19116.service -n 50 | fold -w 120
scan configuration files for svc-19117
grep -RInE '^#' /etc/svc-19117/config.ini --include='*.go' | uniq -c
query systemd status for svc-19118
systemctl enable --now svc-19118.timer --no-pager | tail -n 10
search the svc-19119 directory tree
find /srv/svc-19119 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 5
print a git log summary for /srv/svc-19120
git -C /srv/svc-19120 log --name-status -n 100 --all | grep -i warn
list git history for /srv/svc-19121
git -C /srv/svc-19121 log --stat -n 50 --author='deploy' | nl -ba
check resource use for svc-19122
ps -eo pid,lstart,cmd | grep svc-19122 || true
show the diff in /srv/svc-19123
git -C /srv/svc-19123 diff --color-words src/ | tail -n 10
process log fields for svc-19124
awk -F: '{print $1}' /etc/passwd | cat | tee /tmp/svc-19124.out | head -n 20
clean up selected files in /srv/svc-19125
find /srv/svc-19125 -type d -name '*.conf' -size +50M -exec gzip {} + | tail -n 50
process log fields for svc-19126
awk -F: '{print $1}' /var/log/svc-19126/access.log | sort | uniq -c | sort -nr | head | head -n 10
list matching paths under /srv/svc-19127
find /srv/svc-19127 -type d -name '*.log' -mtime +30 -delete | paste -sd, -
show the diff in /srv/svc-19128
git -C /srv/svc-19128 diff --name-only origin/main...HEAD -- | uniq
filter JSON records for svc-19129
jq -e '.metadata' /srv/svc-19129/users.json | tr -s ' '
split svc-19130 records by delimiter
cut -c1-20 /var/log/svc-19130.log | sed -n '1,20p'
inspect systemd unit state for svc-19131
systemctl status svc-19131.service | paste -sd, -
list matching paths under /srv/svc-19132
find /srv/svc-19132 -type l -empty -size +50M -print | tail -n 5
show running containers for svc-19133
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'status=exited' | wc -l | tee /tmp/svc-19133.out | head -n 20
filter log content for svc-19134
grep -v 'FIXME' /srv/svc-19134 --include='*.py' | tail -n 5
validate JSON status for svc-19135
jq '.metadata' /srv/svc-19135/config.json | grep -i error
compare revisions in /srv/svc-19136
git -C /srv/svc-19136 diff --name-status HEAD~1..HEAD | head -n 50
list matching paths under /srv/svc-19137
find /srv/svc-19137 -maxdepth 2 -type f -name '*.gz' -mtime +7 -print | column -t
show the diff in /srv/svc-19138
git -C /srv/svc-19138 diff --color-words origin/main...HEAD -- | cat
inspect file handles for svc-19139
lsof -t -c svc-19139 | tail -n 5
summarize git differences for /srv/svc-19140
git -C /srv/svc-19140 diff --numstat config/ | tac
locate matching files in /srv/svc-19141
find /srv/svc-19141 -type d -name '*.conf' -exec gzip {} + | tail -n 20
scan configuration files for svc-19142
grep -n -A3 -B3 'WARN' /var/log/svc-19142.log --exclude-dir=vendor | sort -n
start a disposable docker container for svc-19143
docker run --rm -v /srv/svc-19143:/data alpine:3.20 sh -c 'cat /etc/os-release' | head -n 10
filter JSON records for svc-19144
jq -c '.items[] | .name' /srv/svc-19144/users.json 2>&1
create a git commit for /srv/svc-19145
git -C /srv/svc-19145 commit --amend --no-edit | head -n 10
locate matching files in /srv/svc-19146
find /srv/svc-19146 -type f -name '*.gz' -mtime +7 -delete | sed 's/^/ /'
download svc-19147 data with curl
curl -fsS http://127.0.0.1:39147/svc-19147/health || true
find files under /srv/svc-19148
find /srv/svc-19148 -type d -name '*.json' -newermt '1 day ago' -print | sed 's/^/ /'
display the commit log for /srv/svc-19149
git -C /srv/svc-19149 log --graph --oneline -n 50 --decorate | nl -ba
clean up selected files in /srv/svc-19150
find /srv/svc-19150 -mindepth 1 -type f -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 2>&1
locate matching files in /srv/svc-19151
find /srv/svc-19151 -mindepth 1 -type f -name '*.tmp' -print | awk '{print $1}'
list matching paths under /srv/svc-19152
find /srv/svc-19152 -type f -name '*.conf' -size +50M -print | sort
find files under /srv/svc-19153
find /srv/svc-19153 -type d -name '*.log' -print | tee /tmp/svc-19153.out
filter JSON records for svc-19154
jq -r '.status == "ok"' /srv/svc-19154/jobs.json > /tmp/svc-19154.out
list repository status details in /srv/svc-19155
git -C /srv/svc-19155 status --porcelain=v1 --show-stash | wc -l
extract JSON fields for svc-19156
jq -e '.services | keys[]' /srv/svc-19156/data.json | sort
create a git commit for /srv/svc-19157
git -C /srv/svc-19157 commit -m 'fix: handle timeout' --signoff | tac
search text for svc-19158
grep -RIn 'timeout' /var/log/svc-19158.log --include='*.yaml' | tail -n 50
search the svc-19159 directory tree
find /srv/svc-19159 -type d -name '*.log' -size +10M -exec ls -lh {} + | tr -s ' '
validate JSON status for svc-19160
jq -r '.items[] | select(.id == 19160) | .name' /srv/svc-19160/jobs.json | rev
locate matching files in /srv/svc-19161
find /srv/svc-19161 -type l -name '*.tmp' -size +10M -delete | column -t
list matching paths under /srv/svc-19162
find /srv/svc-19162 -type d -name '*.gz' -exec ls -lh {} + | nl -ba
find files under /srv/svc-19163
find /srv/svc-19163 -type l -empty -mtime +30 -exec ls -lh {} + | awk '{print $2}'
search the svc-19164 directory tree
find /srv/svc-19164 -maxdepth 2 -type f -name '*.log' -print | tail -n 50
clean up selected files in /srv/svc-19165
find /srv/svc-19165 -maxdepth 2 -type f -name '*.tmp' -mtime +7 -exec ls -lh {} + | uniq
locate matching files in /srv/svc-19166
find /srv/svc-19166 -maxdepth 2 -type f -name '*.conf' -size +50M -exec ls -lh {} + | less
scan configuration files for svc-19167
grep -n -A3 -B3 'timeout' /var/log/svc-19167.log --include='*.py' | grep -i error
find files under /srv/svc-19168
find /srv/svc-19168 -type f -empty -size +10M -print | grep -v '^#'
check changed files in /srv/svc-19169
git -C /srv/svc-19169 status --short | awk '{print $2}'
clean up selected files in /srv/svc-19170
find /srv/svc-19170 -type f -name '*.conf' -size +50M -exec ls -lh {} + | tail -n 5
locate matching files in /srv/svc-19171
find /srv/svc-19171 -type f -empty -printf '%s %p\n' | sort -nr | head -n 10 | tee /tmp/svc-19171.out
display docker container details for svc-19172
docker ps --latest --filter 'status=running' | column -t | tee /tmp/svc-19172.out | head -n 20
find files under /srv/svc-19173
find /srv/svc-19173 -mindepth 1 -type f -name '*.tmp' -exec ls -lh {} + | head -n 20
filter log content for svc-19174
grep -v 'FIXME' /srv/svc-19174 | tac
print a git log summary for /srv/svc-19175
git -C /srv/svc-19175 log --stat -n 20 --since='1 week ago' > /tmp/svc-19175.out
find matching lines for svc-19176
grep -v '^#' /etc/svc-19176/config.ini > /tmp/svc-19176.out
list matching paths under /srv/svc-19177
find /srv/svc-19177 -maxdepth 2 -type f -name '*.gz' -mtime +7 -exec ls -lh {} + | paste -sd, -
find files under /srv/svc-19178
find /srv/svc-19178 -mindepth 1 -type f -name '*.log' -newermt '1 day ago' -delete >> /tmp/svc-19178.out
search the svc-19179 directory tree
find /srv/svc-19179 -type l -name '*.gz' -mtime +30 -delete | grep -i warn
count matches in svc-19180 data
grep -Rn 'panic[(]' /srv/svc-19180 --exclude-dir=vendor || true
extract JSON fields for svc-19181
jq -e '.items[] | .name' /srv/svc-19181/health.json | rev