prompt
stringlengths
6
157
response
stringlengths
1
147
scan configuration files for svc-16182
grep -c 'timeout' /var/log/svc-16182.log --include='*.yaml' | grep -i error
query JSON data for svc-16183
jq -e 'map(select(.status == "failed")) | length' /srv/svc-16183/config.json | wc -l
search the svc-16184 directory tree
find /srv/svc-16184 -type d -name '*.log' -mtime +7 -delete | wc -l
clean up selected files in /srv/svc-16185
find /srv/svc-16185 -maxdepth 2 -type f -empty -exec ls -lh {} + | rev
find matching lines for svc-16186
grep -Ril 'TODO' /srv/svc-16186 --exclude='*.min.js' | sort
list matching paths under /srv/svc-16187
find /srv/svc-16187 -type l -empty -newermt '1 day ago' -exec ls -lh {} + | sed -n '1,20p'
clean up svc-16188 text files
sed -i.bak 's/localhost/127.0.0.1/g' /etc/svc-16188/config.ini | paste -sd, -
check filesystem usage for svc-16189
df -h /srv/svc-16189/logs | sed -n '1,20p'
count cron jobs for svc-16190
crontab -l | grep svc-16190 | sed -n '1,20p' | awk '{print $2}'
locate matching files in /srv/svc-16191
find /srv/svc-16191 -maxdepth 2 -type f -name '*.gz' -size +10M -print | head -n 5
pretty-print JSON for svc-16192
jq '.items[] | [.id, .name] | @tsv' /srv/svc-16192/users.json | awk '{print $1}'
find files under /srv/svc-16193
find /srv/svc-16193 -type l -name '*.conf' -mtime +7 -delete 2>/dev/null
check path selection for svc-16194.example.com
ip route get svc-16194.example.com oif lo | head -n 10
read journal entries for svc-16195
journalctl -u svc-16195.service --since '24 hours ago' -n 50 --no-pager | nl -ba
locate matching files in /srv/svc-16196
find /srv/svc-16196 -type f -name '*.gz' -mtime +30 -print | sort -nr
show running containers for svc-16197
docker ps -q --format '{{.ID}} {{.Image}}' --filter 'status=running' | tee /tmp/svc-16197.out
read container logs for svc-16198
docker logs --since '1h' svc-16198 2>&1 2>&1
search the svc-16199 directory tree
find /srv/svc-16199 -maxdepth 2 -type f -name '*.conf' -size +10M -exec ls -lh {} + | cut -d, -f1
print a git log summary for /srv/svc-16200
git -C /srv/svc-16200 log --format='%h %ad %s' --date=short -n 20 --grep='fix' | grep -v '^#'
extract JSON fields for svc-16201
jq -S '.metadata' /srv/svc-16201/health.json | nl -ba
list svc-16202 account details
id -gn svc-16202 | fold -w 120
query JSON data for svc-16203
jq -S '.status == "ok"' /srv/svc-16203/data.json | cut -d, -f1
search the svc-16204 directory tree
find /srv/svc-16204 -maxdepth 2 -type f -name '*.conf' -size +50M -exec ls -lh {} + | sort -k2
inspect systemd unit state for svc-16205
systemctl enable --now svc-16205.socket --no-block 2>&1 | tee /tmp/svc-16205.log
compare revisions in /srv/svc-16206
git -C /srv/svc-16206 diff --name-status HEAD~2..HEAD src/ | tail -n 5
inspect pending changes in /srv/svc-16207
git -C /srv/svc-16207 diff --name-only origin/main...HEAD config/ | grep -i warn
search text for svc-16208
grep -RIn 'ERROR' /var/log/svc-16208.log --exclude='*.min.js' | wc -l
search the svc-16209 directory tree
find /srv/svc-16209 -type d -name '*.tmp' -mtime +30 -delete | cat
print a git log summary for /srv/svc-16210
git -C /srv/svc-16210 log --graph --oneline -n 20 --all | head -n 10
read journal entries for svc-16211
journalctl --since 'today' --no-pager | tac | tee /tmp/svc-16211.out | head -n 20
scan configuration files for svc-16212
grep -Ril 'secret' /etc/svc-16212 --exclude='*.min.js' | head -n 5
show recent commits in /srv/svc-16213
git -C /srv/svc-16213 log --oneline -n 50 --grep='fix' | grep -v '^#'
search the svc-16214 directory tree
find /srv/svc-16214 -type f -name '*.log' -mtime +7 -print 2>&1 | tee /tmp/svc-16214.log
show running containers for svc-16215
docker ps -q --format '{{.ID}} {{.Image}}' | nl -ba | tee /tmp/svc-16215.out | head -n 20
locate matching files in /srv/svc-16216
find /srv/svc-16216 -type f -name '*.log' -newermt '1 day ago' -delete | cut -d, -f1
list matching paths under /srv/svc-16217
find /srv/svc-16217 -type f -name '*.json' -newermt '1 day ago' -print | head -n 50
find files under /srv/svc-16218
find /srv/svc-16218 -type l -name '*.conf' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tr -s ' '
search the svc-16219 directory tree
find /srv/svc-16219 -maxdepth 2 -type f -name '*.gz' -newermt '1 day ago' -exec gzip {} + | head -n 50
query journal history for svc-16220
journalctl -u svc-16220.service -n 50 --no-pager | sort -k2
locate matching files in /srv/svc-16221
find /srv/svc-16221 -type l -name '*.json' -mtime +7 -print | cut -d, -f1
pretty-print JSON for svc-16222
jq -e '.items[] | [.id, .name] | @tsv' /srv/svc-16222/health.json | tr -s ' '
find files under /srv/svc-16223
find /srv/svc-16223 -type d -name '*.json' -mtime +30 -delete | tee /tmp/svc-16223.out
execute a container task for svc-16224
docker run --rm -d -v /srv/svc-16224/logs:/logs:ro busybox:1.36 df -h | awk '{print $1}'
clean up selected files in /srv/svc-16225
find /srv/svc-16225 -type d -name '*.json' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 20
list git history for /srv/svc-16226
git -C /srv/svc-16226 log --graph --oneline -n 50 --author='deploy' | uniq
measure the size of svc-16227 data
wc -l /srv/svc-16227/src/*.py | grep -i error
find files under /srv/svc-16228
find /srv/svc-16228 -type d -name '*.log' -printf '%s %p\n' | sort -nr | head -n 10 | sort -u
search the svc-16229 directory tree
find /srv/svc-16229 -type l -name '*.tmp' -size +10M -exec gzip {} + | head -n 5
print a git log summary for /srv/svc-16230
git -C /srv/svc-16230 log --graph --oneline -n 10 --grep='fix' | uniq -c
display recent container output for svc-16231
docker logs --tail 500 -f svc-16231 | sort -nr
list matching paths under /srv/svc-16232
find /srv/svc-16232 -type d -empty -mtime +7 -print | cut -d, -f1
query JSON data for svc-16233
jq -S '.services | keys[]' /srv/svc-16233/config.json > /tmp/svc-16233.out
query journal history for svc-16234
journalctl -u svc-16234.service --since '24 hours ago' -n 500 --output=short-iso | sed 's/^/ /'
clean up selected files in /srv/svc-16235
find /srv/svc-16235 -type d -name '*.json' -mtime +7 -delete | head -n 10
locate matching files in /srv/svc-16236
find /srv/svc-16236 -maxdepth 2 -type f -name '*.log' -mtime +30 -printf '%s %p\n' | sort -nr | head -n 10 | awk '{print $2}'
scan configuration files for svc-16237
grep -c 'WARN' /var/log/svc-16237.log --include='*.yaml' | uniq -c
find files under /srv/svc-16238
find /srv/svc-16238 -type f -name '*.json' -mtime +7 -print | head -n 10
filter log content for svc-16239
grep -Rn 'secret' /etc/svc-16239 --include='*.go' | awk '{print $2}'
count matches in svc-16240 data
grep -RIn 'secret' /etc/svc-16240 --exclude='*.min.js' | sort
compare revisions in /srv/svc-16241
git -C /srv/svc-16241 diff --color-words HEAD~1 config/ | head -n 20
process log fields for svc-16242
awk -F, 'NR % 100 == 0 {print NR, $0}' /var/log/svc-16242/app.log | grep -i error
replace values in svc-16243 files
sed -i '1,120p' /var/log/svc-16243.log | rev
search the svc-16244 directory tree
find /srv/svc-16244 -type l -name '*.gz' -exec ls -lh {} +
validate JSON status for svc-16245
jq --indent 2 '.users[] | select(.active == true) | .email' /srv/svc-16245/data.json | grep -v '^#'
post a test request for svc-16246
curl -fsS -u deploy:secret http://127.0.0.1:36246/svc-16246/private | head -n 10
list matching paths under /srv/svc-16247
find /srv/svc-16247 -maxdepth 2 -type f -name '*.tmp' -print | rev
find files under /srv/svc-16248
find /srv/svc-16248 -type d -name '*.tmp' -size +10M -print 2>&1 | tee /tmp/svc-16248.log
display recent container output for svc-16249
docker logs --since '24h' svc-16249 2>/dev/null
validate JSON status for svc-16250
jq -S '.status == "ok"' /srv/svc-16250/jobs.json | tee /tmp/svc-16250.out
locate matching files in /srv/svc-16251
find /srv/svc-16251 -type d -name '*.json' -printf '%s %p\n' | sort -nr | head -n 10 | sort
inspect branch and file status for /srv/svc-16252
git -C /srv/svc-16252 status --porcelain=v1 --branch 2>&1 | tee /tmp/svc-16252.log
inspect TCP ports for svc-16253
ss -tuln | grep svc-16253 | uniq -c
display the commit log for /srv/svc-16254
git -C /srv/svc-16254 log --stat -n 100 | tac
show running containers for svc-16255
docker ps -aq --format '{{.ID}} {{.Image}}' | sort -u | tee /tmp/svc-16255.out | head -n 20
summarize svc-16256 storage use
du -ch /srv/svc-16256/data /srv/svc-16256/logs | tee /tmp/svc-16256.out
list matching paths under /srv/svc-16257
find /srv/svc-16257 -maxdepth 2 -type f -empty -newermt '1 day ago' -printf '%s %p\n' | sort -nr | head -n 10 | fold -w 120
find files under /srv/svc-16258
find /srv/svc-16258 -type d -empty -size +10M -exec gzip {} + | wc -l
summarize text columns for svc-16259
awk '{print length($0), $0}' /etc/svc-16259/config.ini | sort -nr | head | nl -ba
clean up selected files in /srv/svc-16260
find /srv/svc-16260 -type l -name '*.json' -exec gzip {} + | awk '{print $1}'
locate matching files in /srv/svc-16261
find /srv/svc-16261 -type d -name '*.log' -exec gzip {} + | awk '{print $1}'
list matching paths under /srv/svc-16262
find /srv/svc-16262 -type f -name '*.log' -size +50M -delete | nl -ba
find files under /srv/svc-16263
find /srv/svc-16263 -type f -empty -size +50M -exec ls -lh {} + | tail -n 10
filter JSON records for svc-16264
jq '.status == "ok"' /srv/svc-16264/data.json | rev
clean up selected files in /srv/svc-16265
find /srv/svc-16265 -maxdepth 2 -type f -name '*.gz' -size +50M -delete | uniq -c
locate matching files in /srv/svc-16266
find /srv/svc-16266 -maxdepth 2 -type f -name '*.gz' -size +10M -printf '%s %p\n' | sort -nr | head -n 10 | tail -n 10
show running containers for svc-16267
docker ps -a --no-trunc --format '{{.ID}} {{.Image}}' --filter 'label=app=svc-16267' | sed 's/^/ /'
find files under /srv/svc-16268
find /srv/svc-16268 -type l -name '*.log' -size +10M -exec ls -lh {} + | cut -d, -f1
search the svc-16269 directory tree
find /srv/svc-16269 -type f -name '*.gz' -size +50M -printf '%s %p\n' | sort -nr | head -n 10 | sed -n '1,20p'
restart svc-16270 by signaling its workers
pkill -TERM -u svc-16270 | grep -E '^[^#]'
list git history for /srv/svc-16271
git -C /srv/svc-16271 log --stat -n 20 --since='1 week ago' 2>/dev/null
inspect DNS answers for svc-16272.example.com
dig +trace svc-16272.example.com | head -n 20 | sort -k2
create a git commit for /srv/svc-16273
git -C /srv/svc-16273 commit -m 'docs: update README' --no-verify 2>&1
display the commit log for /srv/svc-16274
git -C /srv/svc-16274 log --format='%h %ad %s' --date=short -n 20 --decorate | fold -w 120
clean up selected files in /srv/svc-16275
find /srv/svc-16275 -type f -name '*.conf' -mtime +7 -printf '%s %p\n' | sort -nr | head -n 10 | sort
locate matching files in /srv/svc-16276
find /srv/svc-16276 -type l -name '*.conf' -size +50M -exec ls -lh {} + | grep -i warn
list matching paths under /srv/svc-16277
find /srv/svc-16277 -type d -name '*.tmp' -print | head -n 5
show recent commits in /srv/svc-16278
git -C /srv/svc-16278 log --graph --oneline -n 10 --since='1 week ago' | tail -n 10
list changed files in /srv/svc-16279
git -C /srv/svc-16279 diff --color-words HEAD~1..HEAD | head -n 20
compress application files for svc-16280
tar -tzf /backup/svc-16280.tar.gz | head -n 20 | tail -n 5
deduplicate svc-16281 log entries
uniq -f 1 /var/log/svc-16281.log | uniq